Om  1.0.0
A universal framework for multimedia simulation
Classes | Namespaces | Functions
omQuaternion.h File Reference
#include "omMathConfig.h"

Classes

class  om::math::Quaternion4D< T >
 A templatized math class representing a 4-component quaternion. More...
 

Namespaces

 om
 The enclosing namespace for the entire Om library.
 
 om::math
 A namespace containing classes and functions that do fast math operations.
 

Functions

template<typename T >
Quaternion4D< T > om::math::operator* (const T &value, const Quaternion4D< T > &quaternion)
 Multiply every component of the quaternion with the value, returning a quaternion result. More...
 
template<typename T >
om::math::dot (const Quaternion4D< T > &q1, const Quaternion4D< T > &q2)
 Compute and return the dot product of two quaternions. More...
 
template<typename T >
Quaternion4D< T > om::math::slerp (const Quaternion4D< T > &q1, const Quaternion4D< T > &q2, T a)
 Use spherical linear interpolation to interpolate two quaternions. More...