PSMoveService
Macros | Functions
func_trigonometric.hpp File Reference

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

#include "func_trigonometric.inl"

Go to the source code of this file.

Macros

#define GLM_CORE_func_trigonometric   GLM_VERSION
 

Functions

template<typename genType >
genType glm::radians (genType const &degrees)
 Converts degrees to radians and returns the result. More...
 
template<typename genType >
genType glm::degrees (genType const &radians)
 Converts radians to degrees and returns the result. More...
 
template<typename genType >
genType glm::sin (genType const &angle)
 The standard trigonometric sine function. More...
 
template<typename genType >
genType glm::cos (genType const &angle)
 The standard trigonometric cosine function. More...
 
template<typename genType >
genType glm::tan (genType const &angle)
 The standard trigonometric tangent function. More...
 
template<typename genType >
genType glm::asin (genType const &x)
 Arc sine. More...
 
template<typename genType >
genType glm::acos (genType const &x)
 Arc cosine. More...
 
template<typename genType >
genType glm::atan (genType const &y, genType const &x)
 Arc tangent. More...
 
template<typename genType >
genType glm::atan (genType const &y_over_x)
 Arc tangent. More...
 
template<typename genType >
genType glm::sinh (genType const &angle)
 Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2. More...
 
template<typename genType >
genType glm::cosh (genType const &angle)
 Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2. More...
 
template<typename genType >
genType glm::tanh (genType const &angle)
 Returns the hyperbolic tangent function, sinh(angle) / cosh(angle) More...
 
template<typename genType >
genType glm::asinh (genType const &x)
 Arc hyperbolic sine; returns the inverse of sinh. More...
 
template<typename genType >
genType glm::acosh (genType const &x)
 Arc hyperbolic cosine; returns the non-negative inverse of cosh. More...
 
template<typename genType >
genType glm::atanh (genType const &x)
 Arc hyperbolic tangent; returns the inverse of tanh. 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 Core

Date
2008-08-01 / 2011-06-15
Author
Christophe Riccio
See also
GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions