Functions

quaternion.hpp File Reference

OpenGL Mathematics (glm.g-truc.net) More...

Go to the source code of this file.

Functions

template<typename valType >
valType angle (detail::tquat< valType > const &x)
template<typename valType >
detail::tquat< valType > angleAxis (valType const &angle, valType const &x, valType const &y, valType const &z)
template<typename valType >
detail::tquat< valType > angleAxis (valType const &angle, detail::tvec3< valType > const &axis)
template<typename valType >
detail::tvec3< valType > axis (detail::tquat< valType > const &x)
template<typename valType >
detail::tvec3< valType > cross (detail::tquat< valType > const &q, detail::tvec3< valType > const &v)
template<typename valType >
detail::tvec3< valType > cross (detail::tvec3< valType > const &v, detail::tquat< valType > const &q)
template<typename valType >
detail::tvec3< valType > eulerAngles (detail::tquat< valType > const &x)
template<typename valType >
detail::tquat< valType > exp (detail::tquat< valType > const &q, valType const &exponent)
template<typename valType >
valType extractRealComponent (detail::tquat< valType > const &q)
template<typename T >
detail::tquat< T > fastMix (detail::tquat< T > const &x, detail::tquat< T > const &y, T const &a)
template<typename valType >
detail::tquat< valType > intermediate (detail::tquat< valType > const &prev, detail::tquat< valType > const &curr, detail::tquat< valType > const &next)
template<typename valType >
detail::tquat< valType > log (detail::tquat< valType > const &q)
template<typename valType >
valType pitch (detail::tquat< valType > const &x)
template<typename valType >
detail::tquat< valType > pow (detail::tquat< valType > const &x, valType const &y)
template<typename valType >
valType roll (detail::tquat< valType > const &x)
template<typename valType >
detail::tvec3< valType > rotate (detail::tquat< valType > const &q, detail::tvec3< valType > const &v)
template<typename valType >
detail::tvec4< valType > rotate (detail::tquat< valType > const &q, detail::tvec4< valType > const &v)
template<typename T >
detail::tquat< T > shortMix (detail::tquat< T > const &x, detail::tquat< T > const &y, T const &a)
template<typename valType >
detail::tquat< valType > squad (detail::tquat< valType > const &q1, detail::tquat< valType > const &q2, detail::tquat< valType > const &s1, detail::tquat< valType > const &s2, valType const &h)
template<typename valType >
detail::tmat3x3< valType > toMat3 (detail::tquat< valType > const &x)
template<typename valType >
detail::tmat4x4< valType > toMat4 (detail::tquat< valType > const &x)
template<typename valType >
detail::tquat< valType > toQuat (detail::tmat4x4< valType > const &x)
template<typename valType >
detail::tquat< valType > toQuat (detail::tmat3x3< valType > const &x)
template<typename valType >
valType yaw (detail::tquat< valType > const &x)

Detailed Description

OpenGL Mathematics (glm.g-truc.net)

Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

GLM_GTX_quaternion: Extented quaternion types and functions

Date:
2005-12-21 / 2011-06-07
Author:
Christophe Riccio
See also:
GLM Core (dependence)
GLM_GTX_extented_min_max: Extended min max (dependence)

Definition in file gtx/quaternion.hpp.