#include <math3d.h>
Public Member Functions | |
quaternion< T > & | operator*= (T a) |
quaternion< T > & | operator+= (const quaternion< T > &a) |
quaternion (T v=0) | |
quaternion (T ww, T ii, T jj, T kk) | |
void | to_vector (T *p) const |
Static Public Member Functions | |
static quaternion< T > | convert (const vec3d< T > &p) |
static quaternion< T > | convert (const T *p) |
Public Attributes | |
T | i |
T | j |
T | k |
T | w |
Friends | |
std::ostream & | operator<< (std::ostream &os, const quaternion< T > &q) |
std::istream & | operator>> (std::istream &is, quaternion< T > &q) |
|
inlineexplicit |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
T math3d::quaternion< T >::i |
T math3d::quaternion< T >::j |
T math3d::quaternion< T >::k |
T math3d::quaternion< T >::w |