[][src]Function directx_math::XMQuaternionExp

pub fn XMQuaternionExp(Q: FXMVECTOR) -> FXMVECTOR

Computes the exponential of a given pure quaternion.

Parameters

Q Pure quaternion for which to compute the exponential. The w-component of the input quaternion is ignored in the calculation.

Return value

Returns the exponential of Q.

Remarks

The DirectXMath quaternion functions use an XMVECTOR 4-vector to represent quaternions, where the X, Y, and Z components are the vector part and the W component is the scalar part.

Reference

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