Examples of MatrixN3f


Examples of org.matheusdev.util.matrix.matrix3.MatrixN3f

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

Examples of org.matheusdev.util.matrix.matrix3.MatrixN3f

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

    values = new MatrixN3f(width, height, depth);

    for (int i = 0; i < layers.length; i++) {
      final int xoffset = genOffset(width, rand);
      final int yoffset = genOffset(height, rand);
      final int zoffset = genOffset(depth, 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.