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