|
1.0.0 API documentation
|
Go to the documentation of this file.
21 #include "detail/setup.hpp"
22 #include "detail/qualifier.hpp"
37 template<length_t L,
typename T, qualifier Q>
38 GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q>
radians(vec<L, T, Q>
const&
degrees);
48 template<length_t L,
typename T, qualifier Q>
49 GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q>
degrees(vec<L, T, Q>
const&
radians);
60 template<length_t L,
typename T, qualifier Q>
61 GLM_FUNC_DECL vec<L, T, Q>
sin(vec<L, T, Q>
const&
angle);
72 template<length_t L,
typename T, qualifier Q>
73 GLM_FUNC_DECL vec<L, T, Q>
cos(vec<L, T, Q>
const&
angle);
83 template<length_t L,
typename T, qualifier Q>
84 GLM_FUNC_DECL vec<L, T, Q>
tan(vec<L, T, Q>
const&
angle);
96 template<length_t L,
typename T, qualifier Q>
97 GLM_FUNC_DECL vec<L, T, Q>
asin(vec<L, T, Q>
const& x);
109 template<length_t L,
typename T, qualifier Q>
110 GLM_FUNC_DECL vec<L, T, Q>
acos(vec<L, T, Q>
const& x);
124 template<length_t L,
typename T, qualifier Q>
125 GLM_FUNC_DECL vec<L, T, Q>
atan(vec<L, T, Q>
const& y, vec<L, T, Q>
const& x);
136 template<length_t L,
typename T, qualifier Q>
137 GLM_FUNC_DECL vec<L, T, Q>
atan(vec<L, T, Q>
const& y_over_x);
147 template<length_t L,
typename T, qualifier Q>
148 GLM_FUNC_DECL vec<L, T, Q>
sinh(vec<L, T, Q>
const&
angle);
158 template<length_t L,
typename T, qualifier Q>
159 GLM_FUNC_DECL vec<L, T, Q>
cosh(vec<L, T, Q>
const&
angle);
169 template<length_t L,
typename T, qualifier Q>
170 GLM_FUNC_DECL vec<L, T, Q>
tanh(vec<L, T, Q>
const&
angle);
180 template<length_t L,
typename T, qualifier Q>
181 GLM_FUNC_DECL vec<L, T, Q>
asinh(vec<L, T, Q>
const& x);
192 template<length_t L,
typename T, qualifier Q>
193 GLM_FUNC_DECL vec<L, T, Q>
acosh(vec<L, T, Q>
const& x);
204 template<length_t L,
typename T, qualifier Q>
205 GLM_FUNC_DECL vec<L, T, Q>
atanh(vec<L, T, Q>
const& x);
210 #include "detail/func_trigonometric.inl"
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
GLM_FUNC_DECL vec< L, T, Q > asin(vec< L, T, Q > const &x)
Arc sine.
GLM_FUNC_DECL vec< L, T, Q > tanh(vec< L, T, Q > const &angle)
Returns the hyperbolic tangent function, sinh(angle) / cosh(angle)
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > degrees(vec< L, T, Q > const &radians)
Converts radians to degrees and returns the result.
GLM_FUNC_DECL vec< L, T, Q > acos(vec< L, T, Q > const &x)
Arc cosine.
GLM_FUNC_DECL vec< L, T, Q > acosh(vec< L, T, Q > const &x)
Arc hyperbolic cosine; returns the non-negative inverse of cosh.
GLM_FUNC_DECL vec< L, T, Q > sinh(vec< L, T, Q > const &angle)
Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2.
GLM_FUNC_DECL vec< L, T, Q > sin(vec< L, T, Q > const &angle)
The standard trigonometric sine function.
GLM_FUNC_DECL vec< L, T, Q > tan(vec< L, T, Q > const &angle)
The standard trigonometric tangent function.
GLM_FUNC_DECL vec< L, T, Q > atanh(vec< L, T, Q > const &x)
Arc hyperbolic tangent; returns the inverse of tanh.
GLM_FUNC_DECL vec< L, T, Q > cosh(vec< L, T, Q > const &angle)
Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2.
GLM_FUNC_DECL vec< L, T, Q > cos(vec< L, T, Q > const &angle)
The standard trigonometric cosine function.
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > radians(vec< L, T, Q > const °rees)
Converts degrees to radians and returns the result.
GLM_FUNC_DECL vec< L, T, Q > atan(vec< L, T, Q > const &y_over_x)
Arc tangent.
GLM_FUNC_DECL vec< L, T, Q > asinh(vec< L, T, Q > const &x)
Arc hyperbolic sine; returns the inverse of sinh.