Loading...
Searching...
No Matches
Quaternion.hpp File Reference
Go to the source code of this file.
Classes | |
| class | CubbyFlow::Quaternion< T > |
| Quaternion class defined as q = w + xi + yj + zk. More... | |
Namespaces | |
| namespace | CubbyFlow |
Typedefs | |
| using | CubbyFlow::QuaternionF = Quaternion< float > |
| Float-type quaternion. | |
| using | CubbyFlow::QuaternionD = Quaternion< double > |
| Double-type quaternion. | |
Functions | |
| template<typename T > | |
| Quaternion< T > | CubbyFlow::Slerp (const Quaternion< T > &a, const Quaternion< T > &b, T t) |
| Computes spherical linear interpolation. | |
| template<typename T > | |
| Vector< T, 3 > | CubbyFlow::operator* (const Quaternion< T > &q, const Vector< T, 3 > &v) |
| Returns quaternion q * vector v. | |
| template<typename T > | |
| Quaternion< T > | CubbyFlow::operator* (const Quaternion< T > &a, const Quaternion< T > &b) |
| Returns quaternion a times quaternion b. | |
1.9.8