[][src]Function directx_math::XMVector3InverseRotate

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

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