0.9.9 API documenation
Functions
func_trigonometric.hpp File Reference

GLM Core More...

Go to the source code of this file.

Functions

template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > acos (vecType< T, P > const &x)
 Arc cosine. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > acosh (vecType< T, P > const &x)
 Arc hyperbolic cosine; returns the non-negative inverse of cosh. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > asin (vecType< T, P > const &x)
 Arc sine. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > asinh (vecType< T, P > const &x)
 Arc hyperbolic sine; returns the inverse of sinh. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > atan (vecType< T, P > const &y, vecType< T, P > const &x)
 Arc tangent. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > atan (vecType< T, P > const &y_over_x)
 Arc tangent. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > atanh (vecType< T, P > const &x)
 Arc hyperbolic tangent; returns the inverse of tanh. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > cos (vecType< T, P > const &angle)
 The standard trigonometric cosine function. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > cosh (vecType< T, P > const &angle)
 Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL GLM_CONSTEXPR vecType< T, P > degrees (vecType< T, P > const &radians)
 Converts radians to degrees and returns the result. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL GLM_CONSTEXPR vecType< T, P > radians (vecType< T, P > const &degrees)
 Converts degrees to radians and returns the result. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > sin (vecType< T, P > const &angle)
 The standard trigonometric sine function. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > sinh (vecType< T, P > const &angle)
 Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > tan (vecType< T, P > const &angle)
 The standard trigonometric tangent function. More...
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > tanh (vecType< T, P > const &angle)
 Returns the hyperbolic tangent function, sinh(angle) / cosh(angle) More...
 

Detailed Description

GLM Core

See also
GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions

Definition in file func_trigonometric.hpp.