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 test{
00016                 void main_core_func_trigonometric();
00017         }//namespace test
00018 
00019         namespace core{
00020         namespace function{
00024         namespace trigonometric{
00025 
00028 
00031         template <typename genType> 
00032         genType radians(genType const & degrees);
00033 
00036         template <typename genType> 
00037         genType degrees(genType const & radians);
00038 
00042         template <typename genType> 
00043         genType sin(genType const & angle);
00044 
00048         template <typename genType> 
00049         genType cos(genType const & angle);
00050 
00053         template <typename genType> 
00054         genType tan(genType const & angle); 
00055 
00060         template <typename genType> 
00061         genType asin(genType const & x);
00062 
00067         template <typename genType> 
00068         genType acos(genType const & x);
00069 
00076         template <typename genType> 
00077         genType atan(genType const & y, genType const & x);
00078 
00082         template <typename genType> 
00083         genType atan(genType const & y_over_x);
00084 
00087         template <typename genType> 
00088         genType sinh(genType const & angle);
00089 
00092         template <typename genType> 
00093         genType cosh(genType const & angle);
00094 
00097         template <typename genType> 
00098         genType tanh(genType const & angle);
00099 
00102         template <typename genType> 
00103         genType asinh(genType const & x);
00104         
00108         template <typename genType> 
00109         genType acosh(genType const & x);
00110 
00114         template <typename genType> 
00115         genType atanh(genType const & x);
00116 
00118 
00119         }//namespace trigonometric
00120         }//namespace function
00121         }//namespace core
00122 
00123         using namespace core::function::trigonometric;
00124 }//namespace glm
00125 
00126 #include "func_trigonometric.inl"
00127 
00128 #endif//glm_core_func_trigonometric
00129 
00130