0.9.8: quaternion.hpp File Reference

| 0.9.8

- Main Page
- Modules
- Files

- File List

Functions
gtc/quaternion.hpp File Reference

Go to the source code of this file.

## Functions

template<typename T , precision P>
GLM_FUNC_DECL T | angle (tquat< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | angleAxis (T const &angle, tvec3< T, P > const &axis)
template<typename T , precision P>
GLM_FUNC_DECL tvec3< T, P > | axis (tquat< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | conjugate (tquat< T, P > const &q)
template<typename T , precision P, template< typename, precision > class quatType>
GLM_FUNC_DECL T | dot (quatType< T, P > const &x, quatType< T, P > const &y)
template<typename T , precision P>
GLM_FUNC_DECL tvec4< bool, P > | equal (tquat< T, P > const &x, tquat< T, P > const &y)
template<typename T , precision P>
GLM_FUNC_DECL tvec3< T, P > | eulerAngles (tquat< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL tvec4< bool, P > | greaterThan (tquat< T, P > const &x, tquat< T, P > const &y)
template<typename T , precision P>
GLM_FUNC_DECL tvec4< bool, P > | greaterThanEqual (tquat< T, P > const &x, tquat< T, P > const &y)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | inverse (tquat< T, P > const &q)
template<typename T , precision P>
GLM_FUNC_DECL tvec4< bool, P > | isinf (tquat< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL tvec4< bool, P > | isnan (tquat< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL T | length (tquat< T, P > const &q)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | lerp (tquat< T, P > const &x, tquat< T, P > const &y, T a)
template<typename T , precision P>
GLM_FUNC_DECL tvec4< bool, P > | lessThan (tquat< T, P > const &x, tquat< T, P > const &y)
template<typename T , precision P>
GLM_FUNC_DECL tvec4< bool, P > | lessThanEqual (tquat< T, P > const &x, tquat< T, P > const &y)
template<typename T , precision P>
GLM_FUNC_DECL tmat3x3< T, P > | mat3_cast (tquat< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL tmat4x4< T, P > | mat4_cast (tquat< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | mix (tquat< T, P > const &x, tquat< T, P > const &y, T a)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | normalize (tquat< T, P > const &q)
template<typename T , precision P>
GLM_FUNC_DECL tvec4< bool, P > | notEqual (tquat< T, P > const &x, tquat< T, P > const &y)
template<typename T , precision P>
GLM_FUNC_DECL T | pitch (tquat< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | quat_cast (tmat3x3< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | quat_cast (tmat4x4< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL T | roll (tquat< T, P > const &x)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | rotate (tquat< T, P > const &q, T const &angle, tvec3< T, P > const &axis)
template<typename T , precision P>
GLM_FUNC_DECL tquat< T, P > | slerp (tquat< T, P > const &x, tquat< T, P > const &y, T a)
template<typename T , precision P>
GLM_FUNC_DECL T | yaw (tquat< T, P > const &x)

## Detailed Description

GLM_GTC_quaternion

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

Definition in file gtc/quaternion.hpp.