Function XMVector3InverseRotate

Source
pub fn XMVector3InverseRotate(
    V: FXMVECTOR,
    RotationQuaternion: FXMVECTOR,
) -> XMVECTOR
Expand description

Rotates a 3D vector using the inverse of a quaternion.

§Parameters

V 3D vector to rotate.

RotationQuaternion Quaternion that describes the inverse of the rotation to apply to the vector.

§Return value

Returns the rotated 3D vector.

§Reference

https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVector3InverseRotate