func_trigonometric.hpp
00001 
00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
00004 // Created : 2008-08-01
00005 // Updated : 2008-09-10
00006 // Licence : This source is under MIT License
00007 // File    : glm/core/func_trigonometric.hpp
00009 
00010 #ifndef glm_core_func_trigonometric
00011 #define glm_core_func_trigonometric
00012 
00013 namespace glm
00014 {
00015         namespace core{
00016         namespace function{
00020         namespace trigonometric{
00021 
00024 
00029         template <typename genType> 
00030         genType radians(genType const & degrees);
00031 
00036         template <typename genType> 
00037         genType degrees(genType const & radians);
00038 
00044         template <typename genType> 
00045         genType sin(genType const & angle);
00046 
00052         template <typename genType> 
00053         genType cos(genType const & angle);
00054 
00059         template <typename genType> 
00060         genType tan(genType const & angle); 
00061 
00068         template <typename genType> 
00069         genType asin(genType const & x);
00070 
00077         template <typename genType> 
00078         genType acos(genType const & x);
00079 
00088         template <typename genType> 
00089         genType atan(genType const & y, genType const & x);
00090 
00096         template <typename genType> 
00097         genType atan(genType const & y_over_x);
00098 
00103         template <typename genType> 
00104         genType sinh(genType const & angle);
00105 
00110         template <typename genType> 
00111         genType cosh(genType const & angle);
00112 
00117         template <typename genType> 
00118         genType tanh(genType const & angle);
00119 
00124         template <typename genType> 
00125         genType asinh(genType const & x);
00126         
00132         template <typename genType> 
00133         genType acosh(genType const & x);
00134 
00140         template <typename genType> 
00141         genType atanh(genType const & x);
00142 
00144 
00145         }//namespace trigonometric
00146         }//namespace function
00147         }//namespace core
00148 
00149         using namespace core::function::trigonometric;
00150 }//namespace glm
00151 
00152 #include "func_trigonometric.inl"
00153 
00154 #endif//glm_core_func_trigonometric
00155 
00156