Castor3D 0.16.0
Multiplatform 3D engine
Classes | Namespaces | Typedefs | Functions
Quaternion.hpp File Reference

Classes

class  castor::QuaternionT< T >
 Quaternion representation class. More...
 

Namespaces

namespace  castor
 

Typedefs

template<typename T >
using castor::QuaternionDataT = PointData< T, 4u >
 

Functions

template<typename T >
QuaternionT< T > castor::operator+ (QuaternionT< T > const &lhs, QuaternionT< T > const &rhs)
 addition operator
 
template<typename T >
QuaternionT< T > castor::operator- (QuaternionT< T > const &lhs, QuaternionT< T > const &rhs)
 Substraction operator.
 
template<typename T >
QuaternionT< T > castor::operator* (QuaternionT< T > const &lhs, QuaternionT< T > const &rhs)
 Multiplication operator.
 
template<typename T >
QuaternionT< T > castor::operator* (QuaternionT< T > const &lhs, double rhs)
 Multiplication operator.
 
template<typename T >
QuaternionT< T > castor::operator* (QuaternionT< T > const &lhs, float rhs)
 Multiplication operator.
 
template<typename T >
QuaternionT< T > castor::operator* (double lhs, QuaternionT< T > const &rhs)
 Multiplication operator.
 
template<typename T >
QuaternionT< T > castor::operator* (float lhs, QuaternionT< T > const &rhs)
 Multiplication operator.
 
template<typename T >
QuaternionT< T > castor::operator- (QuaternionT< T > const &quat)
 Negation operator.
 
template<typename CharT , typename T >
std::basic_ostream< CharT > & castor::operator<< (std::basic_ostream< CharT > &stream, QuaternionT< T > const &quat)
 Stream operator.