Isosurface.Sampler.Abs C# (CSharp) Method

Abs() public static method

public static Abs ( this v ) : Vector3
v this
return Vector3
        public static Vector3 Abs(this Vector3 v)
        {
            Vector3 q = new Vector3();
            q.X = (float)Math.Abs(v.X);
            q.Y = (float)Math.Abs(v.Y);
            q.Z = (float)Math.Abs(v.Z);
            return q;
        }