Rotates a 3D vector using the inverse of a quaternion.
XMVECTOR XMVector3InverseRotate(
XMVECTOR V,
XMVECTOR RotationQuaternion
)
V
Type: XMVECTOR
3D vector to rotate.
RotationQuaternion
Type: XMVECTOR
Quaternion that describes the inverse of the rotation to apply to the vector.
Type: XMVECTOR
Returns the rotated 3D vector.
Header: Declared in directxmath.h.