Flow Visualisation
quaternion.hpp File Reference
#include "../glm.hpp"
#include "../gtc/half_float.hpp"
#include "../gtc/constants.hpp"
#include "quaternion.inl"
Include dependency graph for quaternion.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  glm::detail::tquat< T >
 

Namespaces

 glm
 
 glm::detail
 

Macros

#define GLM_GTC_quaternion   GLM_VERSION
 

Typedefs

typedef detail::tquat< float > glm::quat
 
typedef detail::tquat< detail::half > glm::hquat
 
typedef detail::tquat< float > glm::fquat
 
typedef detail::tquat< double > glm::dquat
 
typedef detail::tquat< lowp_float > glm::lowp_quat
 
typedef detail::tquat< mediump_float > glm::mediump_quat
 
typedef detail::tquat< highp_float > glm::highp_quat
 

Functions

template<typename T >
detail::tquat< T > glm::detail::operator- (detail::tquat< T > const &q)
 
template<typename T >
detail::tquat< T > glm::detail::operator+ (detail::tquat< T > const &q, detail::tquat< T > const &p)
 
template<typename T >
detail::tquat< T > glm::detail::operator* (detail::tquat< T > const &q, detail::tquat< T > const &p)
 
template<typename T >
detail::tvec3< T > glm::detail::operator* (detail::tquat< T > const &q, detail::tvec3< T > const &v)
 
template<typename T >
detail::tvec3< T > glm::detail::operator* (detail::tvec3< T > const &v, detail::tquat< T > const &q)
 
template<typename T >
detail::tvec4< T > glm::detail::operator* (detail::tquat< T > const &q, detail::tvec4< T > const &v)
 
template<typename T >
detail::tvec4< T > glm::detail::operator* (detail::tvec4< T > const &v, detail::tquat< T > const &q)
 
template<typename T >
detail::tquat< T > glm::detail::operator* (detail::tquat< T > const &q, typename detail::tquat< T >::value_type const &s)
 
template<typename T >
detail::tquat< T > glm::detail::operator* (typename detail::tquat< T >::value_type const &s, detail::tquat< T > const &q)
 
template<typename T >
detail::tquat< T > glm::detail::operator/ (detail::tquat< T > const &q, typename detail::tquat< T >::value_type const &s)
 
template<typename T >
glm::length (detail::tquat< T > const &q)
 
template<typename T >
detail::tquat< T > glm::normalize (detail::tquat< T > const &q)
 
template<typename T >
glm::dot (detail::tquat< T > const &q1, detail::tquat< T > const &q2)
 
template<typename T >
detail::tquat< T > glm::mix (detail::tquat< T > const &x, detail::tquat< T > const &y, T const &a)
 
template<typename T >
detail::tquat< T > glm::lerp (detail::tquat< T > const &x, detail::tquat< T > const &y, T const &a)
 
template<typename T >
detail::tquat< T > glm::slerp (detail::tquat< T > const &x, detail::tquat< T > const &y, T const &a)
 Returns the slurp interpolation between two quaternions. More...
 
template<typename T >
detail::tquat< T > glm::conjugate (detail::tquat< T > const &q)
 
template<typename T >
detail::tquat< T > glm::inverse (detail::tquat< T > const &q)
 
template<typename T >
detail::tquat< T > glm::rotate (detail::tquat< T > const &q, typename detail::tquat< T >::value_type const &angle, detail::tvec3< T > const &axis)
 
template<typename T >
detail::tvec3< T > glm::eulerAngles (detail::tquat< T > const &x)
 
template<typename valType >
valType glm::roll (detail::tquat< valType > const &x)
 
template<typename valType >
valType glm::pitch (detail::tquat< valType > const &x)
 
template<typename valType >
valType glm::yaw (detail::tquat< valType > const &x)
 
template<typename T >
detail::tmat3x3< T > glm::mat3_cast (detail::tquat< T > const &x)
 
template<typename T >
detail::tmat4x4< T > glm::mat4_cast (detail::tquat< T > const &x)
 
template<typename T >
detail::tquat< T > glm::quat_cast (detail::tmat3x3< T > const &x)
 
template<typename T >
detail::tquat< T > glm::quat_cast (detail::tmat4x4< T > const &x)
 
template<typename valType >
valType glm::angle (detail::tquat< valType > const &x)
 
template<typename valType >
detail::tvec3< valType > glm::axis (detail::tquat< valType > const &x)
 
template<typename valType >
detail::tquat< valType > glm::angleAxis (valType const &angle, valType const &x, valType const &y, valType const &z)
 
template<typename valType >
detail::tquat< valType > glm::angleAxis (valType const &angle, detail::tvec3< valType > const &axis)
 

Detailed Description

OpenGL Mathematics (glm.g-truc.net)

Copyright (c) 2005 - 2013 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_GTC_quaternion

Date
2009-05-21 / 2012-12-20
Author
Christophe Riccio
See also
GLM Core (dependence)
GLM_GTC_half_float (dependence)
GLM_GTC_constants (dependence)

Macro Definition Documentation

#define GLM_GTC_quaternion   GLM_VERSION