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

Returns the square of the length of the vector.

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 float GetLengthSq(
	Vector3 v
)
Public Shared Function GetLengthSq ( _
	v As Vector3 _
) As Single
public:
static float GetLengthSq(
	Vector3 v
)

Parameters

v
Vector3
The vector.

Return Value

The square of the length of the vector.

See Also