Пример #1
0
 public static Vector3 noise(float x, float y)
 {
     return(new Vector3(PerlinScalar.noise(x + P1x, y + P1y), PerlinScalar.noise(x + P2x, y + P2y), PerlinScalar.noise(x + P3x, y + P3y)));
 }
Пример #2
0
 public static Vector3 noise(float x, float y, float z, float t)
 {
     return(new Vector3(PerlinScalar.noise(x + P1x, y + P1y, z + P1z, t), PerlinScalar.noise(x + P2x, y + P2y, z + P2z, t), PerlinScalar.noise(x + P3x, y + P3y, z + P3z, t)));
 }
Пример #3
0
 public static Vector3 noise(float x)
 {
     return(new Vector3(PerlinScalar.noise(x + P1x), PerlinScalar.noise(x + P2x), PerlinScalar.noise(x + P3x)));
 }