PSMoveService
Functions
matrix_transform.inl File Reference

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

Functions

template<typename T >
GLM_FUNC_QUALIFIER detail::tmat4x4< T > glm::translate (detail::tmat4x4< T > const &m, detail::tvec3< T > const &v)
 Builds a translation 4 * 4 matrix created from a vector of 3 components. More...
 
template<typename T >
GLM_FUNC_QUALIFIER detail::tmat4x4< T > glm::rotate (detail::tmat4x4< T > const &m, T const &angle, detail::tvec3< T > const &v)
 Builds a rotation 4 * 4 matrix created from an axis vector and an angle expressed in degrees. More...
 
template<typename T >
GLM_FUNC_QUALIFIER detail::tmat4x4< T > glm::scale (detail::tmat4x4< T > const &m, detail::tvec3< T > const &v)
 Builds a scale 4 * 4 matrix created from 3 scalars. More...
 
template<typename T >
GLM_FUNC_QUALIFIER detail::tmat4x4< T > glm::translate_slow (detail::tmat4x4< T > const &m, detail::tvec3< T > const &v)
 
template<typename T >
GLM_FUNC_QUALIFIER detail::tmat4x4< T > glm::rotate_slow (detail::tmat4x4< T > const &m, T const &angle, detail::tvec3< T > const &v)
 
template<typename T >
GLM_FUNC_QUALIFIER detail::tmat4x4< T > glm::scale_slow (detail::tmat4x4< T > const &m, detail::tvec3< T > const &v)
 
template<typename valType >
GLM_FUNC_QUALIFIER detail::tmat4x4< valType > glm::ortho (valType const &left, valType const &right, valType const &bottom, valType const &top, valType const &zNear, valType const &zFar)
 
template<typename valType >
GLM_FUNC_QUALIFIER detail::tmat4x4< valType > glm::ortho (valType const &left, valType const &right, valType const &bottom, valType const &top)
 
template<typename valType >
GLM_FUNC_QUALIFIER detail::tmat4x4< valType > glm::frustum (valType const &left, valType const &right, valType const &bottom, valType const &top, valType const &nearVal, valType const &farVal)
 
template<typename valType >
GLM_FUNC_QUALIFIER detail::tmat4x4< valType > glm::perspective (valType const &fovy, valType const &aspect, valType const &zNear, valType const &zFar)
 
template<typename valType >
GLM_FUNC_QUALIFIER detail::tmat4x4< valType > glm::perspectiveFov (valType const &fov, valType const &width, valType const &height, valType const &zNear, valType const &zFar)
 Builds a perspective projection matrix based on a field of view. More...
 
template<typename T >
GLM_FUNC_QUALIFIER detail::tmat4x4< T > glm::infinitePerspective (T fovy, T aspect, T zNear)
 Creates a matrix for a symmetric perspective-view frustum with far plane at infinite. More...
 
template<typename T >
GLM_FUNC_QUALIFIER detail::tmat4x4< T > glm::tweakedInfinitePerspective (T fovy, T aspect, T zNear)
 Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. More...
 
template<typename T , typename U >
GLM_FUNC_QUALIFIER detail::tvec3< T > glm::project (detail::tvec3< T > const &obj, detail::tmat4x4< T > const &model, detail::tmat4x4< T > const &proj, detail::tvec4< U > const &viewport)
 Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates. More...
 
template<typename T , typename U >
GLM_FUNC_QUALIFIER detail::tvec3< T > glm::unProject (detail::tvec3< T > const &win, detail::tmat4x4< T > const &model, detail::tmat4x4< T > const &proj, detail::tvec4< U > const &viewport)
 Map the specified window coordinates (win.x, win.y, win.z) into object coordinates. More...
 
template<typename T , typename U >
detail::tmat4x4< T > glm::pickMatrix (detail::tvec2< T > const &center, detail::tvec2< T > const &delta, detail::tvec4< U > const &viewport)
 Define a picking region. More...
 
template<typename T >
GLM_FUNC_QUALIFIER detail::tmat4x4< T > glm::lookAt (detail::tvec3< T > const &eye, detail::tvec3< T > const &center, detail::tvec3< T > const &up)
 Build a look at view matrix. More...
 

Detailed Description

OpenGL Mathematics (glm.g-truc.net)

Copyright (c) 2005 - 2012 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_matrix_transform: Matrix transform functions

Date
2009-04-29 / 2011-06-15
Author
Christophe Riccio