00001
00002
00004
00005
00006
00007
00009
00010 #ifndef glm_gtx_reciprocal
00011 #define glm_gtx_reciprocal
00012
00013
00014 #include "../glm.hpp"
00015
00016 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00017 # pragma message("GLM: GLM_GTX_reciprocal extension included")
00018 #endif
00019
00020 namespace glm{
00021 namespace gtx{
00022 namespace reciprocal
00023 {
00026
00030 template <typename genType>
00031 genType sec(genType const & angle);
00032
00036 template <typename genType>
00037 genType csc(genType const & angle);
00038
00042 template <typename genType>
00043 genType cot(genType const & angle);
00044
00047 template <typename genType>
00048 genType asec(genType const & x);
00049
00052 template <typename genType>
00053 genType acsc(genType const & x);
00054
00057 template <typename genType>
00058 genType acot(genType const & x);
00059
00062 template <typename genType>
00063 genType sech(genType const & angle);
00064
00067 template <typename genType>
00068 genType csch(genType const & angle);
00069
00072 template <typename genType>
00073 genType coth(genType const & angle);
00074
00077 template <typename genType>
00078 genType asech(genType const & x);
00079
00082 template <typename genType>
00083 genType acsch(genType const & x);
00084
00087 template <typename genType>
00088 genType acoth(genType const & x);
00089
00091 }
00092 }
00093 }
00094
00095 #include "reciprocal.inl"
00096
00097 namespace glm{using namespace gtx::reciprocal;}
00098
00099 #endif//glm_gtx_reciprocal