Function XMVector3Rotate

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

Rotates a 3D vector using a quaternion.

§Parameters

V 3D vector to rotate.

RotationQuaternion Quaternion that describes 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-XMVector3Rotate