Defines a templated dual-quaternion type and several dual-quaternion operations. More...
Typedefs | |
typedef highp_ddualquat | glm::ddualquat |
typedef highp_fdualquat | glm::dualquat |
typedef highp_fdualquat | glm::fdualquat |
typedef detail::tdualquat < double, highp > | glm::highp_ddualquat |
typedef detail::tdualquat < float, highp > | glm::highp_dualquat |
typedef detail::tdualquat < float, highp > | glm::highp_fdualquat |
typedef detail::tdualquat < double, lowp > | glm::lowp_ddualquat |
typedef detail::tdualquat < float, lowp > | glm::lowp_dualquat |
typedef detail::tdualquat < float, lowp > | glm::lowp_fdualquat |
typedef detail::tdualquat < double, mediump > | glm::mediump_ddualquat |
typedef detail::tdualquat < float, mediump > | glm::mediump_dualquat |
typedef detail::tdualquat < float, mediump > | glm::mediump_fdualquat |
Functions | |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tdualquat< T, P > | glm::dualquat_cast (detail::tmat2x4< T, P > const &x) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tdualquat< T, P > | glm::dualquat_cast (detail::tmat3x4< T, P > const &x) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tdualquat< T, P > | glm::inverse (detail::tdualquat< T, P > const &q) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tdualquat< T, P > | glm::lerp (detail::tdualquat< T, P > const &x, detail::tdualquat< T, P > const &y, T const &a) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat2x4 < T, P > | glm::mat2x4_cast (detail::tdualquat< T, P > const &x) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tmat3x4 < T, P > | glm::mat3x4_cast (detail::tdualquat< T, P > const &x) |
template<typename T , precision P> | |
GLM_FUNC_DECL detail::tdualquat< T, P > | glm::normalize (detail::tdualquat< T, P > const &q) |
Defines a templated dual-quaternion type and several dual-quaternion operations.
<glm/gtx/dual_quaternion.hpp> need to be included to use these functionalities.
typedef highp_ddualquat glm::ddualquat |
Dual-quaternion of default double-precision floating-point numbers.
Definition at line 278 of file dual_quaternion.hpp.
typedef highp_fdualquat glm::dualquat |
Dual-quaternion of floating-point numbers.
Definition at line 254 of file dual_quaternion.hpp.
typedef highp_fdualquat glm::fdualquat |
Dual-quaternion of single-precision floating-point numbers.
Definition at line 259 of file dual_quaternion.hpp.
typedef detail::tdualquat<double, highp> glm::highp_ddualquat |
Dual-quaternion of high double-precision floating-point numbers.
Definition at line 247 of file dual_quaternion.hpp.
typedef detail::tdualquat<float, highp> glm::highp_dualquat |
Dual-quaternion of high single-precision floating-point numbers.
Definition at line 215 of file dual_quaternion.hpp.
typedef detail::tdualquat<float, highp> glm::highp_fdualquat |
Dual-quaternion of high single-precision floating-point numbers.
Definition at line 231 of file dual_quaternion.hpp.
typedef detail::tdualquat<double, lowp> glm::lowp_ddualquat |
Dual-quaternion of low double-precision floating-point numbers.
Definition at line 237 of file dual_quaternion.hpp.
typedef detail::tdualquat<float, lowp> glm::lowp_dualquat |
Dual-quaternion of low single-precision floating-point numbers.
Definition at line 205 of file dual_quaternion.hpp.
typedef detail::tdualquat<float, lowp> glm::lowp_fdualquat |
Dual-quaternion of low single-precision floating-point numbers.
Definition at line 221 of file dual_quaternion.hpp.
typedef detail::tdualquat<double, mediump> glm::mediump_ddualquat |
Dual-quaternion of medium double-precision floating-point numbers.
Definition at line 242 of file dual_quaternion.hpp.
typedef detail::tdualquat<float, mediump> glm::mediump_dualquat |
Dual-quaternion of medium single-precision floating-point numbers.
Definition at line 210 of file dual_quaternion.hpp.
typedef detail::tdualquat<float, mediump> glm::mediump_fdualquat |
Dual-quaternion of medium single-precision floating-point numbers.
Definition at line 226 of file dual_quaternion.hpp.
GLM_FUNC_DECL detail::tdualquat<T, P> glm::dualquat_cast | ( | detail::tmat2x4< T, P > const & | x | ) |
Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion.
GLM_FUNC_DECL detail::tdualquat<T, P> glm::dualquat_cast | ( | detail::tmat3x4< T, P > const & | x | ) |
Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion.
GLM_FUNC_DECL detail::tdualquat<T, P> glm::inverse | ( | detail::tdualquat< T, P > const & | q | ) |
Returns the q inverse.
GLM_FUNC_DECL detail::tdualquat<T, P> glm::lerp | ( | detail::tdualquat< T, P > const & | x, |
detail::tdualquat< T, P > const & | y, | ||
T const & | a | ||
) |
Returns the linear interpolation of two dual quaternion.
GLM_FUNC_DECL detail::tmat2x4<T, P> glm::mat2x4_cast | ( | detail::tdualquat< T, P > const & | x | ) |
Converts a quaternion to a 2 * 4 matrix.
GLM_FUNC_DECL detail::tmat3x4<T, P> glm::mat3x4_cast | ( | detail::tdualquat< T, P > const & | x | ) |
Converts a quaternion to a 3 * 4 matrix.
GLM_FUNC_DECL detail::tdualquat<T, P> glm::normalize | ( | detail::tdualquat< T, P > const & | q | ) |
Returns the normalized quaternion.