slerp
template <typename T>
QuaternionT< T > slerp(const QuaternionT< T > &a, QuaternionT< T > b, T t) noexceptParameters
| Name | Type | Description |
|---|---|---|
a | const QuaternionT< T > & | |
b | QuaternionT< T > | |
t | T | Interpolation parameter in [0, 1]. |
Returns
QuaternionT< T >
Description
Interpolates two rotations at constant angular velocity along the short arc.
See also
engine/foundation/core/include/README.md

