Skip to content

VRageMath.Vector3D.Normalize

Morten Aune Lyrstad edited this page Oct 10, 2019 · 18 revisions

IndexNamespace IndexVector3D

Summary

public double 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.

Returns

double

Summary

public static Vector3D Normalize(Vector3D 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.

Returns

Vector3D

Parameters

Summary

public static void Normalize(ref Vector3D value, out Vector3D 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.

Parameters

Clone this wiki locally