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