D3DXQuaternionLengthSq function
หมายเหตุ
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Returns the square of the length of a quaternion.
FLOAT D3DXQuaternionLengthSq(
_In_ const D3DXQUATERNION *pQ
);
-
pQ [in]
-
Type: const D3DXQUATERNION*
Pointer to the source D3DXQUATERNION structure.
Type: FLOAT
The quaternion's squared length.
Use D3DXQuaternionNormalize for any quaternion input that is not already normalized.
Requirement | Value |
---|---|
Header |
|
Library |
|