/// <summary>
        ///
        /// </summary>
        /// <param name="point"></param>
        /// <returns></returns>
        public Vec2d CurlAt(Vec2d point)
        {
            ToNoiseSpace(ref point);
            var c = PerlinNoise.CurlAt(point.X, point.Y);

            c.X *= _txInv;
            c.Y *= _tyInv;
            return(c);
        }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="point"></param>
 /// <returns></returns>
 public Vec2d CurlAt(Vec2d point)
 {
     return(PerlinNoise.CurlAt(point.X * ScaleX, point.Y * ScaleY));
 }
Esempio n. 3
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));
 }