GLM: reciprocal.hpp Source File

GLM 0.9.5

- Main Page
- Related Pages
- Modules
- Namespaces
- Files

- File List

gtc/reciprocal.hpp
Go to the documentation of this file.
1
38 #ifndef GLM_GTC_reciprocal
39 #define GLM_GTC_reciprocal
40
41 // Dependencies
42 #include "../detail/setup.hpp"
43
44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTC_reciprocal extension included")
46 #endif
47
48 namespace glm
49 {
52
57 template <typename genType>
58 GLM_FUNC_DECL genType sec(genType const & angle);
59
64 template <typename genType>
65 GLM_FUNC_DECL genType csc(genType const & angle);
66
71 template <typename genType>
72 GLM_FUNC_DECL genType cot(genType const & angle);
73
77 template <typename genType>
78 GLM_FUNC_DECL genType asec(genType const & x);
79
83 template <typename genType>
84 GLM_FUNC_DECL genType acsc(genType const & x);
85
89 template <typename genType>
90 GLM_FUNC_DECL genType acot(genType const & x);
91
95 template <typename genType>
96 GLM_FUNC_DECL genType sech(genType const & angle);
97
101 template <typename genType>
102 GLM_FUNC_DECL genType csch(genType const & angle);
103
107 template <typename genType>
108 GLM_FUNC_DECL genType coth(genType const & angle);
109
113 template <typename genType>
114 GLM_FUNC_DECL genType asech(genType const & x);
115
119 template <typename genType>
120 GLM_FUNC_DECL genType acsch(genType const & x);
121
125 template <typename genType>
126 GLM_FUNC_DECL genType acoth(genType const & x);
127
129 }//namespace glm
130
131 #include "reciprocal.inl"
132
133 #endif//GLM_GTC_reciprocal
glm::acot
GLM_FUNC_DECL genType acot(genType const &x)
Inverse cotangent 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::sech
GLM_FUNC_DECL genType sech(genType const &angle)
Secant hyperbolic function.
glm::angle
GLM_FUNC_DECL T angle(detail::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::csch
GLM_FUNC_DECL genType csch(genType const &angle)
Cosecant hyperbolic function.
glm::asech
GLM_FUNC_DECL genType asech(genType const &x)
Inverse secant hyperbolic function.
glm::sec
GLM_FUNC_DECL genType sec(genType const &angle)
Secant function.
glm::acsc
GLM_FUNC_DECL genType acsc(genType const &x)
Inverse cosecant function.
glm::asec
GLM_FUNC_DECL genType asec(genType const &x)
Inverse secant function.
glm::csc
GLM_FUNC_DECL genType csc(genType const &angle)
Cosecant function.
glm::cot
GLM_FUNC_DECL genType cot(genType const &angle)
Cotangent function.