NewTOAPIA.GL.float3.Unit C# (CSharp) Method

Unit() public method

public Unit ( ) : void
return void
        public void Unit()
        {
            float l = 1f / Length;
            x *= l;
            y *= l;
            z *= l;
        }