reciprocal.hpp
00001 
00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
00004 // Created : 2008-10-09
00005 // Updated : 2008-10-09
00006 // Licence : This source is under MIT License
00007 // File    : glm/gtx/reciprocal.hpp
00009 
00010 #ifndef glm_gtx_reciprocal
00011 #define glm_gtx_reciprocal
00012 
00013 // Dependency:
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 }//namespace reciprocal
00092 }//namespace gtx
00093 }//namespace glm
00094 
00095 #include "reciprocal.inl"
00096 
00097 namespace glm{using namespace gtx::reciprocal;}
00098 
00099 #endif//glm_gtx_reciprocal