Template Struct quaternion
Defined in File math3d.h
Struct Documentation
-
template<typename T>
struct quaternion Public Functions
-
inline quaternion<T> &operator+=(const quaternion<T> &a)
-
inline quaternion<T> &operator*=(T a)
Public Static Functions
-
static inline quaternion<T> convert(const vec3d<T> &p)
-
static inline quaternion<T> convert(const T *p)
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const quaternion<T> &q)
-
inline friend std::istream &operator>>(std::istream &is, quaternion<T> &q)
-
inline quaternion<T> &operator+=(const quaternion<T> &a)