3rdparty/glm/doc/api/a00035_source.html
| | 0.9.8 |
func_trigonometric.hpp
Go to the documentation of this file.
1
15 #pragma once
16
17 #include "setup.hpp"
18 #include "precision.hpp"
19
20 namespace glm
21 {
24
31template <typename T, precision P, template <typename, precision> class vecType>
32 GLM_FUNC_DECL GLM_CONSTEXPR vecType<T, P> radians(vecType<T, P> const & degrees);
33
40template <typename T, precision P, template <typename, precision> class vecType>
41 GLM_FUNC_DECL GLM_CONSTEXPR vecType<T, P> degrees(vecType<T, P> const & radians);
42
50template <typename T, precision P, template <typename, precision> class vecType>
51 GLM_FUNC_DECL vecType<T, P> sin(vecType<T, P> const & angle);
52
60template <typename T, precision P, template <typename, precision> class vecType>
61 GLM_FUNC_DECL vecType<T, P> cos(vecType<T, P> const & angle);
62
69template <typename T, precision P, template <typename, precision> class vecType>
70 GLM_FUNC_DECL vecType<T, P> tan(vecType<T, P> const & angle);
71
80template <typename T, precision P, template <typename, precision> class vecType>
81 GLM_FUNC_DECL vecType<T, P> asin(vecType<T, P> const & x);
82
91template <typename T, precision P, template <typename, precision> class vecType>
92 GLM_FUNC_DECL vecType<T, P> acos(vecType<T, P> const & x);
93
104template <typename T, precision P, template <typename, precision> class vecType>
105 GLM_FUNC_DECL vecType<T, P> atan(vecType<T, P> const & y, vecType<T, P> const & x);
106
114template <typename T, precision P, template <typename, precision> class vecType>
115 GLM_FUNC_DECL vecType<T, P> atan(vecType<T, P> const & y_over_x);
116
123template <typename T, precision P, template <typename, precision> class vecType>
124 GLM_FUNC_DECL vecType<T, P> sinh(vecType<T, P> const & angle);
125
132template <typename T, precision P, template <typename, precision> class vecType>
133 GLM_FUNC_DECL vecType<T, P> cosh(vecType<T, P> const & angle);
134
141template <typename T, precision P, template <typename, precision> class vecType>
142 GLM_FUNC_DECL vecType<T, P> tanh(vecType<T, P> const & angle);
143
150template <typename T, precision P, template <typename, precision> class vecType>
151 GLM_FUNC_DECL vecType<T, P> asinh(vecType<T, P> const & x);
152
160template <typename T, precision P, template <typename, precision> class vecType>
161 GLM_FUNC_DECL vecType<T, P> acosh(vecType<T, P> const & x);
162
170template <typename T, precision P, template <typename, precision> class vecType>
171 GLM_FUNC_DECL vecType<T, P> atanh(vecType<T, P> const & x);
172
174 }//namespace glm
175
176 #include "func_trigonometric.inl"
GLM_FUNC_DECL vecType< T, P > tan(vecType< T, P > const &angle)
The standard trigonometric tangent function.
GLM_FUNC_DECL vecType< T, P > sin(vecType< T, P > const &angle)
The standard trigonometric sine function.
Definition: _noise.hpp:11
GLM_FUNC_DECL vecType< T, P > atan(vecType< T, P > const &y_over_x)
Arc tangent.
GLM_FUNC_DECL vecType< T, P > atanh(vecType< T, P > const &x)
Arc hyperbolic tangent; returns the inverse of tanh.
GLM_FUNC_DECL vecType< T, P > cosh(vecType< T, P > const &angle)
Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2.
GLM_FUNC_DECL vecType< T, P > sinh(vecType< T, P > const &angle)
Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2.
GLM_FUNC_DECL vecType< T, P > acos(vecType< T, P > const &x)
Arc cosine.
GLM_FUNC_DECL vecType< T, P > asinh(vecType< T, P > const &x)
Arc hyperbolic sine; returns the inverse of sinh.
GLM Core
GLM_FUNC_DECL GLM_CONSTEXPR vecType< T, P > degrees(vecType< T, P > const &radians)
Converts radians to degrees and returns the result.
GLM_FUNC_DECL T angle(tquat< T, P > const &x)
Returns the quaternion rotation angle.
GLM_FUNC_DECL vecType< T, P > asin(vecType< T, P > const &x)
Arc sine.
GLM_FUNC_DECL vecType< T, P > tanh(vecType< T, P > const &angle)
Returns the hyperbolic tangent function, sinh(angle) / cosh(angle)
GLM_FUNC_DECL vecType< T, P > acosh(vecType< T, P > const &x)
Arc hyperbolic cosine; returns the non-negative inverse of cosh.
GLM_FUNC_DECL vecType< T, P > cos(vecType< T, P > const &angle)
The standard trigonometric cosine function.
GLM Core
GLM_FUNC_DECL GLM_CONSTEXPR vecType< T, P > radians(vecType< T, P > const °rees)
Converts degrees to radians and returns the result.
Generated by 1.8.10