nn::math::QUATExp Function
NN_MATH_INLINE QUAT * QUATExp(
QUAT * pOut,
const QUAT *__restrict q
);
| Name | Description | |
|---|---|---|
| out | pOut | Pointer to the buffer that receives the result of the calculation. It is not a problem if this points to the same quaternion as q. |
| in | q | Pointer to the quaternion to use as the exponent. It must be a pure imaginary quaternion for which w=0. |
Calculates the base of the natural logarithm (the constant e) raised to the power of a quaternion.
CONFIDENTIAL