[][src]Function directx_math::XMVector3Rotate

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

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