Function parameters specified as angle are assumed to be in units of radians.
More...
|
| 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 °rees) |
| | 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...
|
| |
Function parameters specified as angle are assumed to be in units of radians.
In no case will any of these functions result in a divide by zero error. If the divisor of a ratio is 0, then results will be undefined.
These all operate component-wise. The description is per component.