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