Exemplo n.º 1
0
 public OutputMinMax GenPositionArray4D(
     Span <float> destination,
     ReadOnlySpan <float> xPosArray,
     ReadOnlySpan <float> yPosArray,
     ReadOnlySpan <float> zPosArray,
     ReadOnlySpan <float> wPosArray,
     float xOffset,
     float yOffset,
     float zOffset,
     float wOffset,
     int seed)
 {
     return(NoiseGenerator4DHelper.GenPositionArray <m32, f32, i32, F, Perlin <m32, f32, i32, F> >(
                ref this,
                destination,
                xPosArray,
                yPosArray,
                zPosArray,
                wPosArray,
                xOffset,
                yOffset,
                zOffset,
                wOffset,
                seed));
 }
Exemplo n.º 2
0
 public OutputMinMax GenUniformGrid4D(
     Span <float> destination,
     int xStart,
     int yStart,
     int zStart,
     int wStart,
     int xSize,
     int ySize,
     int zSize,
     int wSize,
     float frequency,
     int seed)
 {
     return(NoiseGenerator4DHelper.GenUniformGrid <m32, f32, i32, F, Perlin <m32, f32, i32, F> >(
                ref this,
                destination,
                xStart,
                yStart,
                zStart,
                wStart,
                xSize,
                ySize,
                zSize,
                wSize,
                frequency,
                seed));
 }
Exemplo n.º 3
0
 public float GenSingle4D(float x, float y, float z, float w, int seed)
 {
     return(NoiseGenerator4DHelper.GenSingle <m32, f32, i32, F, Perlin <m32, f32, i32, F> >(
                ref this,
                x,
                y,
                z,
                w,
                seed));
 }
Exemplo n.º 4
0
 public OutputMinMax GenTileable2D(
     Span <float> destination,
     int xSize,
     int ySize,
     float frequency,
     int seed)
 {
     return(NoiseGenerator4DHelper.GenTileable <m32, f32, i32, F, Perlin <m32, f32, i32, F> >(
                ref this,
                destination,
                xSize,
                ySize,
                frequency,
                seed));
 }