dual_quaternion.hpp File Reference

GLM_GTX_dual_quaternion More...

Go to the source code of this file.

## Typedefs

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

## Functions

template<typename T , precision P>
GLM_FUNC_DECL tdualquat< T, P > | dualquat_cast (tmat2x4< T, P > const &x)
| Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion. More...
template<typename T , precision P>
GLM_FUNC_DECL tdualquat< T, P > | dualquat_cast (tmat3x4< T, P > const &x)
| Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion. More...
template<typename T , precision P>
GLM_FUNC_DECL tdualquat< T, P > | inverse (tdualquat< T, P > const &q)
| Returns the q inverse. More...
template<typename T , precision P>
GLM_FUNC_DECL tdualquat< T, P > | lerp (tdualquat< T, P > const &x, tdualquat< T, P > const &y, T const &a)
| Returns the linear interpolation of two dual quaternion. More...
template<typename T , precision P>
GLM_FUNC_DECL tmat2x4< T, P > | mat2x4_cast (tdualquat< T, P > const &x)
| Converts a quaternion to a 2 * 4 matrix. More...
template<typename T , precision P>
GLM_FUNC_DECL tmat3x4< T, P > | mat3x4_cast (tdualquat< T, P > const &x)
| Converts a quaternion to a 3 * 4 matrix. More...
template<typename T , precision P>
GLM_FUNC_DECL tdualquat< T, P > | normalize (tdualquat< T, P > const &q)
| Returns the normalized quaternion. More...

## Detailed Description

GLM_GTX_dual_quaternion

Author
  Maksim Vorobiev (msome.nosp@m.one@.nosp@m.gmail.nosp@m..com)

See also
  GLM Core (dependence)
  GLM_GTC_constants (dependence)
  GLM_GTC_quaternion (dependence)

Definition in file dual_quaternion.hpp.