liballofw
|
#include <quaternion.h>
Public Member Functions | |
Quaternion_ ()=default | |
Quaternion_ (T x_, T y_, T z_, T w_) | |
template<typename T1 > | |
Quaternion_ (const Vector3_< T1 > &v_, T w_) | |
template<typename OtherT > | |
Quaternion_ (const OtherT &other) | |
T | len () const |
Quaternion_ | operator+ (const Quaternion_ &q) const |
Quaternion_ | operator- (const Quaternion_ &q) const |
Quaternion_ | operator- () const |
Quaternion_ | operator* (T s) const |
Quaternion_ | operator/ (T s) const |
Quaternion_ | unit () const |
Quaternion_ | operator* (const Quaternion_ &q) const |
template<typename T1 > | |
Quaternion_ | operator* (const Vector3_< T1 > &v) const |
Quaternion_ | inversion () const |
template<typename T1 > | |
Vector3_< T1 > | rotate (const Vector3_< T1 > &v) const |
Matrix3_< T > | matrix () const |
Static Public Member Functions | |
static Quaternion_ | Rotation (const Vector3_< T > &v, double alpha) |
static Quaternion_ | Zero () |
static Quaternion_ | One () |
Public Attributes | |
union { | |
Vector3_< T > v | |
struct { | |
T x | |
T y | |
T z | |
} | |
}; | |
T | w |
|
inlinedefault |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlinestatic |
union { ... } |
Vector3_<T> allofw::Quaternion_< T >::v |
T allofw::Quaternion_< T >::w |
T allofw::Quaternion_< T >::x |
T allofw::Quaternion_< T >::y |
T allofw::Quaternion_< T >::z |