0.9.9 API documenation
Functions
func_trigonometric.hpp File Reference

GLM Core More...

Go to the source code of this file.

Functions

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