0.9.7: reciprocal.hpp Source File

| 0.9.7

- Main Page
- Modules
- Files

- File List

reciprocal.hpp
Go to the documentation of this file.
1
42 #pragma once
43
44 // Dependencies
45 #include "../detail/setup.hpp"
46
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTC_reciprocal extension included")
49 #endif
50
51 namespace glm
52 {
55
60 template <typename genType>
61 GLM_FUNC_DECL genType sec(genType const & angle);
62
67 template <typename genType>
68 GLM_FUNC_DECL genType csc(genType const & angle);
69
74 template <typename genType>
75 GLM_FUNC_DECL genType cot(genType const & angle);
76
80 template <typename genType>
81 GLM_FUNC_DECL genType asec(genType const & x);
82
86 template <typename genType>
87 GLM_FUNC_DECL genType acsc(genType const & x);
88
92 template <typename genType>
93 GLM_FUNC_DECL genType acot(genType const & x);
94
98 template <typename genType>
99 GLM_FUNC_DECL genType sech(genType const & angle);
100
104 template <typename genType>
105 GLM_FUNC_DECL genType csch(genType const & angle);
106
110 template <typename genType>
111 GLM_FUNC_DECL genType coth(genType const & angle);
112
116 template <typename genType>
117 GLM_FUNC_DECL genType asech(genType const & x);
118
122 template <typename genType>
123 GLM_FUNC_DECL genType acsch(genType const & x);
124
128 template <typename genType>
129 GLM_FUNC_DECL genType acoth(genType const & x);
130
132 }//namespace glm
133
134 #include "reciprocal.inl"
glm::asech
GLM_FUNC_DECL genType asech(genType const &x)
Inverse secant hyperbolic function.
glm::cot
GLM_FUNC_DECL genType cot(genType const &angle)
Cotangent function.
glm::csch
GLM_FUNC_DECL genType csch(genType const &angle)
Cosecant hyperbolic function.
glm::asec
GLM_FUNC_DECL genType asec(genType const &x)
Inverse secant function.
glm::acot
GLM_FUNC_DECL genType acot(genType const &x)
Inverse cotangent function.
glm::csc
GLM_FUNC_DECL genType csc(genType const &angle)
Cosecant function.
glm
Definition: _noise.hpp:40
glm::sec
GLM_FUNC_DECL genType sec(genType const &angle)
Secant function.
glm::angle
GLM_FUNC_DECL T angle(tquat< T, P > const &x)
Returns the quaternion rotation angle.
glm::acoth
GLM_FUNC_DECL genType acoth(genType const &x)
Inverse cotangent hyperbolic function.
glm::acsch
GLM_FUNC_DECL genType acsch(genType const &x)
Inverse cosecant hyperbolic function.
glm::coth
GLM_FUNC_DECL genType coth(genType const &angle)
Cotangent hyperbolic function.
glm::acsc
GLM_FUNC_DECL genType acsc(genType const &x)
Inverse cosecant function.
glm::sech
GLM_FUNC_DECL genType sech(genType const &angle)
Secant hyperbolic function.