Go to the source code of this file.
|
| template<typename T > |
| Quaternion< T > | lug::Math::normalize (const Quaternion< T > &lhs) |
| |
| template<typename T > |
| Quaternion< T > | lug::Math::conjugate (const Quaternion< T > &lhs) |
| |
| template<typename T > |
| Quaternion< T > | lug::Math::inverse (const Quaternion< T > &lhs) |
| |
| template<typename T > |
| T | lug::Math::dot (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
| |
| template<typename T > |
| Quaternion< T > | lug::Math::directionTo (const Vector< 3, T > &original, const Vector< 3, T > &expected) |
| |
| template<typename T > |
| Quaternion< T > | lug::Math::operator- (const Quaternion< T > &lhs) |
| |
| template<typename T > |
| Quaternion< T > | lug::Math::operator+ (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
| |
| template<typename T > |
| Quaternion< T > | lug::Math::operator- (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
| |
| template<typename T > |
| Quaternion< T > | lug::Math::operator* (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
| |
| template<typename T > |
| Quaternion< T > | lug::Math::operator/ (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
| |
| template<typename T > |
| bool | lug::Math::operator== (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
| |
| template<typename T > |
| bool | lug::Math::operator!= (const Quaternion< T > &lhs, const Quaternion< T > &rhs) |
| |
| template<typename T > |
| std::ostream & | lug::Math::operator<< (std::ostream &os, const Quaternion< T > &quaternion) |
| |
◆ DEFINE_QUATERNION_ACCESS
| #define DEFINE_QUATERNION_ACCESS |
( |
|
name, |
|
|
|
rows |
|
) |
| |
Value:const T& name()
const { \
return (*this)[rows]; \
} \
\
T& name() { \
return (*this)[rows]; \
}
Definition at line 42 of file Quaternion.hpp.