SharpMath.Vector4D.Normalize C# (CSharp) Method

Normalize() public method

public Normalize ( ) : Vector4D
return Vector4D
        public Vector4D Normalize()
        {
            if ( Length < 1e-12 ) return this; float fINorm = 1.0f / Length; x *= fINorm; y *= fINorm; z *= fINorm; w *= fINorm; return this;
        }