|
Go to the source code of this file.
Classes | |
class | GfQuaternion |
Basic type: complex number with scalar real part and vector imaginary part. More... | |
Functions | |
GF_API GfQuaternion | GfSlerp (double alpha, const GfQuaternion &q0, const GfQuaternion &q1) |
GF_API GfQuaternion | GfSlerp (const GfQuaternion &q0, const GfQuaternion &q1, double alpha) |
GF_API std::ostream & | operator<< (std::ostream &out, const GfQuaternion &q) |
Output a GfQuaternion using the format (r + (x, y, z)). | |
double | GfDot (const GfQuaternion &q1, const GfQuaternion &q2) |
Returns the dot (inner) product of two quaternions. | |
|
inline |
Returns the dot (inner) product of two quaternions.
Definition at line 230 of file quaternion.h.
GF_API GfQuaternion GfSlerp | ( | double | alpha, |
const GfQuaternion & | q0, | ||
const GfQuaternion & | q1 | ||
) |
If the interpolant alpha
is zero, then the result is q0
, while alpha
of one yields q1
.