Microsoft DirectX 9.0 SDK Update (October 2004)

Quaternion.LengthSq Method

Language:

Note: This documentation is preliminary and is subject to change.

Returns the square of a quaternion's length.

Definition

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

Parameters

v Microsoft.DirectX.Quaternion. Source Quaternion structure.

Return Value

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

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center