Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Returns the conjugate of a quaternion.
D3DXQUATERNION* D3DXQuaternionConjugate(
_Inout_ D3DXQUATERNION *pOut,
_In_ const D3DXQUATERNION *pQ
);
pOut [in, out]
Type: D3DXQUATERNION*
Pointer to the D3DXQUATERNION structure that is the result of the operation.
pQ [in]
Type: const D3DXQUATERNION*
Pointer to the source D3DXQUATERNION structure.
Type: D3DXQUATERNION*
Pointer to a D3DXQUATERNION structure that is the conjugate of the quaternion.
Given a quaternion (x, y, z, w), the D3DXQuaternionConjugate function will return the quaternion (-x, -y, -z, w).
The return value for this function is the same value returned in the pOut parameter. In this way, the D3DXQuaternionConjugate function can be used as a parameter for another function.
Use D3DXQuaternionNormalize for any quaternion input that is not already normalized.
Requirement | Value |
---|---|
Header |
|
Library |
|
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now