?/TD>
Microsoft DirectX 9.0

D3DXQuaternionLengthSq Function


Returns the square of the length of a quaternion.

Syntax

FLOAT D3DXQuaternionLengthSq(      

    CONST D3DXQUATERNION *pQ );

Parameters

pQ
[in] Pointer to the source D3DXQUATERNION structure.

Return Value

The quaternion's squared length.



Function Information

Headerd3dx9math.h
Import libraryd3dx9.lib
Minimum operating systems Windows 98

See Also

D3DXQuaternionLength


© 2002 Microsoft Corporation. All rights reserved.