[This is preliminary documentation and is subject to change.]

Normalizes the specified vector such that its length is equal to one. (Costly method!)

Namespace: org.critterai
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static Vector3 Normalize(
	Vector3 v
)
Public Shared Function Normalize ( _
	v As Vector3 _
) As Vector3
public:
static Vector3 Normalize(
	Vector3 v
)

Parameters

v
Vector3
The vector.

Return Value

A normalized vector.

See Also