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

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