예제 #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));
 }
예제 #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));
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec2d CurlAt(Vec2d point)
 {
     return(SimplexNoise.CurlAt(point.X * ScaleX, point.Y * ScaleY));
 }
예제 #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));
 }
예제 #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec2d GradientAt(Vec2d point)
 {
     return(SimplexNoise.GradientAt(point.X * ScaleX, point.Y * ScaleY));
 }
예제 #6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec2d VectorAt(Vec2d point)
 {
     return(SimplexNoise.VectorAt(point.X * ScaleX, point.Y * ScaleY));
 }
예제 #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));
 }
예제 #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));
 }
예제 #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));
 }