FlukyEngine
Classes | Namespaces | Typedefs | Functions
dual_quaternion.hpp File Reference

GLM_GTX_dual_quaternion More...

#include "../glm.hpp"
#include "../gtc/constants.hpp"
#include "../gtc/quaternion.hpp"
#include "dual_quaternion.inl"
Include dependency graph for dual_quaternion.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  glm::tdualquat< T, Q >
 

Namespaces

 glm
 Core features
 

Typedefs

typedef tdualquat< float, lowp > glm::lowp_dualquat
 Dual-quaternion of low single-qualifier floating-point numbers. More...
 
typedef tdualquat< float, mediump > glm::mediump_dualquat
 Dual-quaternion of medium single-qualifier floating-point numbers. More...
 
typedef tdualquat< float, highp > glm::highp_dualquat
 Dual-quaternion of high single-qualifier floating-point numbers. More...
 
typedef tdualquat< float, lowp > glm::lowp_fdualquat
 Dual-quaternion of low single-qualifier floating-point numbers. More...
 
typedef tdualquat< float, mediump > glm::mediump_fdualquat
 Dual-quaternion of medium single-qualifier floating-point numbers. More...
 
typedef tdualquat< float, highp > glm::highp_fdualquat
 Dual-quaternion of high single-qualifier floating-point numbers. More...
 
typedef tdualquat< double, lowp > glm::lowp_ddualquat
 Dual-quaternion of low double-qualifier floating-point numbers. More...
 
typedef tdualquat< double, mediump > glm::mediump_ddualquat
 Dual-quaternion of medium double-qualifier floating-point numbers. More...
 
typedef tdualquat< double, highp > glm::highp_ddualquat
 Dual-quaternion of high double-qualifier floating-point numbers. More...
 
typedef highp_fdualquat glm::dualquat
 Dual-quaternion of floating-point numbers. More...
 
typedef highp_fdualquat glm::fdualquat
 Dual-quaternion of single-qualifier floating-point numbers. More...
 
typedef highp_ddualquat glm::ddualquat
 Dual-quaternion of default double-qualifier floating-point numbers. More...
 

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::operator+ (tdualquat< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::operator- (tdualquat< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::operator+ (tdualquat< T, Q > const &q, tdualquat< T, Q > const &p)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::operator* (tdualquat< T, Q > const &q, tdualquat< T, Q > const &p)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > glm::operator* (tdualquat< T, Q > const &q, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > glm::operator* (vec< 3, T, Q > const &v, tdualquat< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > glm::operator* (tdualquat< T, Q > const &q, vec< 4, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > glm::operator* (vec< 4, T, Q > const &v, tdualquat< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::operator* (tdualquat< T, Q > const &q, T const &s)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::operator* (T const &s, tdualquat< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::operator/ (tdualquat< T, Q > const &q, T const &s)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool glm::operator== (tdualquat< T, Q > const &q1, tdualquat< T, Q > const &q2)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool glm::operator!= (tdualquat< T, Q > const &q1, tdualquat< T, Q > const &q2)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::dual_quat_identity ()
 Creates an identity dual quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::normalize (tdualquat< T, Q > const &q)
 Returns the normalized quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::lerp (tdualquat< T, Q > const &x, tdualquat< T, Q > const &y, T const &a)
 Returns the linear interpolation of two dual quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::inverse (tdualquat< T, Q > const &q)
 Returns the q inverse. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 4, T, Q > glm::mat2x4_cast (tdualquat< T, Q > const &x)
 Converts a quaternion to a 2 * 4 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 4, T, Q > glm::mat3x4_cast (tdualquat< T, Q > const &x)
 Converts a quaternion to a 3 * 4 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::dualquat_cast (mat< 2, 4, T, Q > const &x)
 Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > glm::dualquat_cast (mat< 3, 4, T, Q > const &x)
 Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion. More...
 

Detailed Description

GLM_GTX_dual_quaternion

Author
Maksim Vorobiev (msome.nosp@m.one@.nosp@m.gmail.nosp@m..com)
See also
Core features (dependence)
GLM_GTC_constants (dependence)
GLM_GTC_quaternion (dependence)