Go to the source code of this file.
|
template<typename T > |
Quaternion< T > | conjugate (const Quaternion< T > &lhs) |
|
template<typename T > |
Quaternion< T > | normalize (const Quaternion< T > &lhs) |
|
template<typename T > |
Quaternion< T > | inverse (const Quaternion< T > &lhs) |
|
template<typename T > |
T | dot (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
|
template<typename T > |
Quaternion< T > | directionTo (const Vector< 3, T > &original, const Vector< 3, T > &expected) |
|
template<typename T > |
Quaternion< T > | operator- (const Quaternion< T > &lhs) |
|
template<typename T > |
Quaternion< T > | operator+ (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
|
template<typename T > |
Quaternion< T > | operator- (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
|
template<typename T > |
Quaternion< T > | operator* (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
|
template<typename T > |
Quaternion< T > | operator/ (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
|
template<typename T > |
bool | operator== (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
|
template<typename T > |
bool | operator!= (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
|
template<typename T > |
std::ostream & | operator<< (std::ostream &os, const Quaternion< T > &quaternion) |
|
◆ conjugate()
template<typename T >
Quaternion<T> conjugate |
( |
const Quaternion< T > & |
lhs | ) |
|
|
inline |
◆ normalize()
template<typename T >
Quaternion<T> normalize |
( |
const Quaternion< T > & |
lhs | ) |
|
|
inline |
◆ inverse()
template<typename T >
Quaternion<T> inverse |
( |
const Quaternion< T > & |
lhs | ) |
|
|
inline |
◆ dot()
template<typename T >
T dot |
( |
const Quaternion< T > & |
lhs, |
|
|
const Quaternion< T > & |
rhs |
|
) |
| |
|
inline |
◆ directionTo()
template<typename T >
Quaternion<T> directionTo |
( |
const Vector< 3, T > & |
original, |
|
|
const Vector< 3, T > & |
expected |
|
) |
| |
◆ operator-() [1/2]
template<typename T >
Quaternion<T> operator- |
( |
const Quaternion< T > & |
lhs | ) |
|
|
inline |
◆ operator+()
template<typename T >
Quaternion<T> operator+ |
( |
const Quaternion< T > & |
lhs, |
|
|
const Quaternion< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator-() [2/2]
template<typename T >
Quaternion<T> operator- |
( |
const Quaternion< T > & |
lhs, |
|
|
const Quaternion< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator*()
template<typename T >
Quaternion<T> operator* |
( |
const Quaternion< T > & |
lhs, |
|
|
const Quaternion< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator/()
template<typename T >
Quaternion<T> operator/ |
( |
const Quaternion< T > & |
lhs, |
|
|
const Quaternion< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator==()
template<typename T >
bool operator== |
( |
const Quaternion< T > & |
lhs, |
|
|
const Quaternion< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator!=()
template<typename T >
bool operator!= |
( |
const Quaternion< T > & |
lhs, |
|
|
const Quaternion< T > & |
rhs |
|
) |
| |
|
inline |
◆ operator<<()
template<typename T >
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Quaternion< T > & |
quaternion |
|
) |
| |