Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public double ValueAt(Vec3d point)
 {
     return(PerlinNoise.ValueAt(point.X * ScaleX, point.Y * ScaleY, point.Z * ScaleZ));
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec2d GradientAt(Vec2d point)
 {
     return(PerlinNoise.GradientAt(point.X * ScaleX, point.Y * ScaleY));
 }
Beispiel #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec2d CurlAt(Vec2d point)
 {
     return(PerlinNoise.CurlAt(point.X * ScaleX, point.Y * ScaleY));
 }
Beispiel #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec3d CurlAt(Vec3d point)
 {
     return(PerlinNoise.CurlAt(point.X * ScaleX, point.Y * ScaleY, point.Z * ScaleZ));
 }
Beispiel #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec2d VectorAt(Vec2d point)
 {
     return(PerlinNoise.VectorAt(point.X * ScaleX, point.Y * ScaleY));
 }
Beispiel #6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec3d GradientAt(Vec3d point)
 {
     return(PerlinNoise.GradientAt(point.X * ScaleX, point.Y * ScaleY, point.Z * ScaleZ));
 }
Beispiel #7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec3d VectorAt(Vec3d point)
 {
     return(PerlinNoise.VectorAt(point.X * ScaleX, point.Y * ScaleY, point.Z * ScaleZ));
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec3d VectorAt(Vec3d point)
 {
     ToNoiseSpace(ref point);
     return(PerlinNoise.VectorAt(point.X, point.Y, point.Z));
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public double ValueAt(Vec3d point)
 {
     ToNoiseSpace(ref point);
     return(PerlinNoise.ValueAt(point.X, point.Y, point.Z));
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public double ValueAt(Vec2d point)
 {
     return(PerlinNoise.ValueAt(point.X * _txInv, point.Y * _tyInv));
 }