VRageMath.Vector3.Normalize - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← Vector3
public float Normalize()
Turns the current vector into a unit vector. The result is a vector one unit in length pointing in the same direction as the original vector.
public static Vector3 Normalize(Vector3 value)
Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector.
- Vector3 value
public static Vector3 Normalize(Vector3D value)
- Vector3D value
public static void Normalize(ref Vector3 value, out Vector3 result)
Creates a unit vector from the specified vector, writing the result to a user-specified variable. The result is a vector one unit in length pointing in the same direction as the original vector.