D3DXQuaternionIsIdentity function
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Determines if a quaternion is an identity quaternion.
Syntax
BOOL D3DXQuaternionIsIdentity(
_In_ const D3DXQUATERNION *pQ
);
Parameters
-
pQ [in]
-
Type: const D3DXQUATERNION*
Pointer to the D3DXQUATERNION structure that will be tested for identity.
Return value
Type: BOOL
If the quaternion is an identity quaternion, this function returns TRUE. Otherwise, this function returns FALSE.
Remarks
Use D3DXQuaternionNormalize for any quaternion input that is not already normalized.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for