40 #ifndef GLM_CORE_func_trigonometric
41 #define GLM_CORE_func_trigonometric
54 template <
typename genType>
63 template <
typename genType>
73 template <
typename genType>
74 GLM_FUNC_DECL genType
sin(genType
const &
angle);
83 template <
typename genType>
84 GLM_FUNC_DECL genType
cos(genType
const &
angle);
92 template <
typename genType>
93 GLM_FUNC_DECL genType
tan(genType
const &
angle);
103 template <
typename genType>
104 GLM_FUNC_DECL genType
asin(genType
const & x);
114 template <
typename genType>
115 GLM_FUNC_DECL genType
acos(genType
const & x);
127 template <
typename genType>
128 GLM_FUNC_DECL genType
atan(genType
const & y, genType
const & x);
137 template <
typename genType>
138 GLM_FUNC_DECL genType
atan(genType
const & y_over_x);
146 template <
typename genType>
147 GLM_FUNC_DECL genType
sinh(genType
const &
angle);
155 template <
typename genType>
156 GLM_FUNC_DECL genType
cosh(genType
const &
angle);
164 template <
typename genType>
165 GLM_FUNC_DECL genType
tanh(genType
const &
angle);
173 template <
typename genType>
174 GLM_FUNC_DECL genType
asinh(genType
const & x);
183 template <
typename genType>
184 GLM_FUNC_DECL genType
acosh(genType
const & x);
193 template <
typename genType>
194 GLM_FUNC_DECL genType
atanh(genType
const & x);
199 #include "func_trigonometric.inl"
201 #endif//GLM_CORE_func_trigonometric
GLM_FUNC_DECL genType sinh(genType const &angle)
Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2.
GLM_FUNC_DECL genType cos(genType const &angle)
The standard trigonometric cosine function.
GLM_FUNC_DECL genType atan(genType const &y, genType const &x)
Arc tangent.
GLM_FUNC_DECL T angle(detail::tquat< T, P > const &x)
Returns the quaternion rotation angle.
GLM_FUNC_DECL genType radians(genType const °rees)
Converts degrees to radians and returns the result.
GLM_FUNC_DECL genType tanh(genType const &angle)
Returns the hyperbolic tangent function, sinh(angle) / cosh(angle)
GLM_FUNC_DECL genType acos(genType const &x)
Arc cosine.
GLM_FUNC_DECL genType sin(genType const &angle)
The standard trigonometric sine function.
GLM_FUNC_DECL genType cosh(genType const &angle)
Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2.
GLM_FUNC_DECL genType tan(genType const &angle)
The standard trigonometric tangent function.
GLM_FUNC_DECL genType acosh(genType const &x)
Arc hyperbolic cosine; returns the non-negative inverse of cosh.
GLM_FUNC_DECL genType asinh(genType const &x)
Arc hyperbolic sine; returns the inverse of sinh.
GLM_FUNC_DECL genType asin(genType const &x)
Arc sine.
GLM_FUNC_DECL genType degrees(genType const &radians)
Converts radians to degrees and returns the result.
GLM_FUNC_DECL genType atanh(genType const &x)
Arc hyperbolic tangent; returns the inverse of tanh.