0.9.9 API documenation

- Main Page
- Modules
- Files

- File List

func_trigonometric.hpp
Go to the documentation of this file.
1
15 #pragma once
16
17 #include "setup.hpp"
18 #include "qualifier.hpp"
19
20 namespace glm
21 {
24
33 template<length_t L, typename T, qualifier P>
34 GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, P> radians(vec<L, T, P> const& degrees);
35
44 template<length_t L, typename T, qualifier P>
45 GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, P> degrees(vec<L, T, P> const& radians);
46
56 template<length_t L, typename T, qualifier P>
57 GLM_FUNC_DECL vec<L, T, P> sin(vec<L, T, P> const& angle);
58
68 template<length_t L, typename T, qualifier P>
69 GLM_FUNC_DECL vec<L, T, P> cos(vec<L, T, P> const& angle);
70
79 template<length_t L, typename T, qualifier P>
80 GLM_FUNC_DECL vec<L, T, P> tan(vec<L, T, P> const& angle);
81
92 template<length_t L, typename T, qualifier P>
93 GLM_FUNC_DECL vec<L, T, P> asin(vec<L, T, P> const& x);
94
105 template<length_t L, typename T, qualifier P>
106 GLM_FUNC_DECL vec<L, T, P> acos(vec<L, T, P> const& x);
107
120 template<length_t L, typename T, qualifier P>
121 GLM_FUNC_DECL vec<L, T, P> atan(vec<L, T, P> const& y, vec<L, T, P> const& x);
122
132 template<length_t L, typename T, qualifier P>
133 GLM_FUNC_DECL vec<L, T, P> atan(vec<L, T, P> const& y_over_x);
134
143 template<length_t L, typename T, qualifier P>
144 GLM_FUNC_DECL vec<L, T, P> sinh(vec<L, T, P> const& angle);
145
154 template<length_t L, typename T, qualifier P>
155 GLM_FUNC_DECL vec<L, T, P> cosh(vec<L, T, P> const& angle);
156
165 template<length_t L, typename T, qualifier P>
166 GLM_FUNC_DECL vec<L, T, P> tanh(vec<L, T, P> const& angle);
167
176 template<length_t L, typename T, qualifier P>
177 GLM_FUNC_DECL vec<L, T, P> asinh(vec<L, T, P> const& x);
178
188 template<length_t L, typename T, qualifier P>
189 GLM_FUNC_DECL vec<L, T, P> acosh(vec<L, T, P> const& x);
190
200 template<length_t L, typename T, qualifier P>
201 GLM_FUNC_DECL vec<L, T, P> atanh(vec<L, T, P> const& x);
202
204 }//namespace glm
205
206 #include "func_trigonometric.inl"
glm::acosh
GLM_FUNC_DECL vec< L, T, P > acosh(vec< L, T, P > const &x)
Arc hyperbolic cosine; returns the non-negative inverse of cosh.
glm::atanh
GLM_FUNC_DECL vec< L, T, P > atanh(vec< L, T, P > const &x)
Arc hyperbolic tangent; returns the inverse of tanh.
glm::asin
GLM_FUNC_DECL vec< L, T, P > asin(vec< L, T, P > const &x)
Arc sine.
glm::cosh
GLM_FUNC_DECL vec< L, T, P > cosh(vec< L, T, P > const &angle)
Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2.
glm::asinh
GLM_FUNC_DECL vec< L, T, P > asinh(vec< L, T, P > const &x)
Arc hyperbolic sine; returns the inverse of sinh.
glm
Definition: _noise.hpp:11
glm::degrees
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, P > degrees(vec< L, T, P > const &radians)
Converts radians to degrees and returns the result.
glm::tanh
GLM_FUNC_DECL vec< L, T, P > tanh(vec< L, T, P > const &angle)
Returns the hyperbolic tangent function, sinh(angle) / cosh(angle)
glm::atan
GLM_FUNC_DECL vec< L, T, P > atan(vec< L, T, P > const &y_over_x)
Arc tangent.
qualifier.hpp
GLM Core
glm::angle
GLM_FUNC_DECL T angle(tquat< T, P > const &x)
Returns the quaternion rotation angle.
glm::acos
GLM_FUNC_DECL vec< L, T, P > acos(vec< L, T, P > const &x)
Arc cosine.
glm::tan
GLM_FUNC_DECL vec< L, T, P > tan(vec< L, T, P > const &angle)
The standard trigonometric tangent function.
glm::radians
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, P > radians(vec< L, T, P > const &degrees)
Converts degrees to radians and returns the result.
glm::cos
GLM_FUNC_DECL vec< L, T, P > cos(vec< L, T, P > const &angle)
The standard trigonometric cosine function.
glm::sinh
GLM_FUNC_DECL vec< L, T, P > sinh(vec< L, T, P > const &angle)
Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2.
glm::sin
GLM_FUNC_DECL vec< L, T, P > sin(vec< L, T, P > const &angle)
The standard trigonometric sine function.
setup.hpp
GLM Core