MathFu
An open source project by
FPL.
|
Quaternion class and functions. More...
Quaternion class and functions.
MathFu provides a Quaternion class that utilizes SIMD optimized Matrix and Vector classes.
Classes | |
class | mathfu::Quaternion< T > |
Stores a Quaternion of type T and provides a set of utility operations on each Quaternion. More... | |
Functions | |
template<class T > | |
Quaternion< T > | operator* (const T &s, const Quaternion< T > &q) |
Multiply a Quaternion by a scalar. More... | |
Variables | |
static Quaternion< T > | mathfu::Quaternion< T >::identity = Quaternion<T>(1, 0, 0, 0) |
Contains a quaternion doing the identity transform. | |
|
related |
Multiply a Quaternion by a scalar.
This multiplies the angle of the rotation of the specified Quaternion by a scalar factor.
s | Scalar to multiply with. |
q | Quaternion to scale. |