Examples of MatrixN2f


Examples of org.matheusdev.util.matrix.matrix2.MatrixN2f

  protected final FloatInterpolation interpolator;

  public SimplexNoiseLayer2(int width, int height, int density, final Random rand, final FloatInterpolation interpolator) {
    this.width = width;
    this.height = height;
    this.values = new MatrixN2f(width, height);
    this.density = density;
    this.rand = rand;
    this.interpolator = interpolator;
  }
View Full Code Here

Examples of org.matheusdev.util.matrix.matrix2.MatrixN2f

    for (int i = 0; i < layers.length; i++) {
      layers[i].gen();
    }

    values = new MatrixN2f(width, height);

    for (int i = 0; i < layers.length; i++) {
      final int xoffset = genOffset(width, rand);
      final int yoffset = genOffset(height, rand);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.