Quaternion.LengthSq(Quaternion) Method (Microsoft.DirectX)

Returns the square of a quaternion's length.

Definition

Visual Basic Public Shared Function LengthSq( _
    ByVal v As Quaternion _
) As Single
C# public static float LengthSq(
    Quaternion v
);
C++ public:
static float LengthSq(
    Quaternion v
);
JScript public static function LengthSq(
    v : Quaternion
) : float;

Parameters

v Microsoft.DirectX.Quaternion
Source Quaternion structure.

Return Value

System.Single
A SingleLeave Site value that represents the quaternion's squared length.

See Also