0.9.9 API documenation
|
Typedefs | |
typedef highp_ddualquat | ddualquat |
typedef highp_fdualquat | dualquat |
typedef highp_fdualquat | fdualquat |
typedef tdualquat< double, highp > | highp_ddualquat |
typedef tdualquat< float, highp > | highp_dualquat |
typedef tdualquat< float, highp > | highp_fdualquat |
typedef tdualquat< double, lowp > | lowp_ddualquat |
typedef tdualquat< float, lowp > | lowp_dualquat |
typedef tdualquat< float, lowp > | lowp_fdualquat |
typedef tdualquat< double, mediump > | mediump_ddualquat |
typedef tdualquat< float, mediump > | mediump_dualquat |
typedef tdualquat< float, mediump > | mediump_fdualquat |
Functions | |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL tdualquat< T, Q > | dual_quat_identity () |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL tdualquat< T, Q > | dualquat_cast (mat< 2, 4, T, Q > const &x) |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL tdualquat< T, Q > | dualquat_cast (mat< 3, 4, T, Q > const &x) |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL tdualquat< T, Q > | inverse (tdualquat< T, Q > const &q) |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL tdualquat< T, Q > | lerp (tdualquat< T, Q > const &x, tdualquat< T, Q > const &y, T const &a) |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL mat< 2, 4, T, Q > | mat2x4_cast (tdualquat< T, Q > const &x) |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL mat< 3, 4, T, Q > | mat3x4_cast (tdualquat< T, Q > const &x) |
template<typename T , qualifier Q> | |
GLM_FUNC_DECL tdualquat< T, Q > | normalize (tdualquat< T, Q > const &q) |
Include <glm/gtx/dual_quaternion.hpp> to use the features of this extension.
Defines a templated dual-quaternion type and several dual-quaternion operations.
typedef highp_ddualquat ddualquat |
Dual-quaternion of default double-qualifier floating-point numbers.
Definition at line 260 of file dual_quaternion.hpp.
typedef highp_fdualquat dualquat |
Dual-quaternion of floating-point numbers.
Definition at line 236 of file dual_quaternion.hpp.
typedef highp_fdualquat fdualquat |
Dual-quaternion of single-qualifier floating-point numbers.
Definition at line 241 of file dual_quaternion.hpp.
typedef tdualquat<double, highp> highp_ddualquat |
Dual-quaternion of high double-qualifier floating-point numbers.
Definition at line 229 of file dual_quaternion.hpp.
typedef tdualquat<float, highp> highp_dualquat |
Dual-quaternion of high single-qualifier floating-point numbers.
Definition at line 197 of file dual_quaternion.hpp.
typedef tdualquat<float, highp> highp_fdualquat |
Dual-quaternion of high single-qualifier floating-point numbers.
Definition at line 213 of file dual_quaternion.hpp.
typedef tdualquat<double, lowp> lowp_ddualquat |
Dual-quaternion of low double-qualifier floating-point numbers.
Definition at line 219 of file dual_quaternion.hpp.
typedef tdualquat<float, lowp> lowp_dualquat |
Dual-quaternion of low single-qualifier floating-point numbers.
Definition at line 187 of file dual_quaternion.hpp.
typedef tdualquat<float, lowp> lowp_fdualquat |
Dual-quaternion of low single-qualifier floating-point numbers.
Definition at line 203 of file dual_quaternion.hpp.
typedef tdualquat<double, mediump> mediump_ddualquat |
Dual-quaternion of medium double-qualifier floating-point numbers.
Definition at line 224 of file dual_quaternion.hpp.
typedef tdualquat<float, mediump> mediump_dualquat |
Dual-quaternion of medium single-qualifier floating-point numbers.
Definition at line 192 of file dual_quaternion.hpp.
typedef tdualquat<float, mediump> mediump_fdualquat |
Dual-quaternion of medium single-qualifier floating-point numbers.
Definition at line 208 of file dual_quaternion.hpp.
GLM_FUNC_DECL tdualquat<T, Q> glm::dual_quat_identity | ( | ) |
Creates an identity dual quaternion.
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.
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.
GLM_FUNC_DECL tdualquat<T, Q> glm::inverse | ( | tdualquat< T, Q > const & | q | ) |
Returns the q inverse.
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.
GLM_FUNC_DECL mat<2, 4, T, Q> glm::mat2x4_cast | ( | tdualquat< T, Q > const & | x | ) |
Converts a quaternion to a 2 * 4 matrix.
GLM_FUNC_DECL mat<3, 4, T, Q> glm::mat3x4_cast | ( | tdualquat< T, Q > const & | x | ) |
Converts a quaternion to a 3 * 4 matrix.
GLM_FUNC_DECL tdualquat<T, Q> glm::normalize | ( | tdualquat< T, Q > const & | q | ) |
Returns the normalized quaternion.