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 
00033         template <typename genType> 
00034         genType radians(genType const & degrees);
00035 
00040         template <typename genType> 
00041         genType degrees(genType const & radians);
00042 
00048         template <typename genType> 
00049         genType sin(genType const & angle);
00050 
00056         template <typename genType> 
00057         genType cos(genType const & angle);
00058 
00063         template <typename genType> 
00064         genType tan(genType const & angle); 
00065 
00072         template <typename genType> 
00073         genType asin(genType const & x);
00074 
00081         template <typename genType> 
00082         genType acos(genType const & x);
00083 
00092         template <typename genType> 
00093         genType atan(genType const & y, genType const & x);
00094 
00100         template <typename genType> 
00101         genType atan(genType const & y_over_x);
00102 
00107         template <typename genType> 
00108         genType sinh(genType const & angle);
00109 
00114         template <typename genType> 
00115         genType cosh(genType const & angle);
00116 
00121         template <typename genType> 
00122         genType tanh(genType const & angle);
00123 
00128         template <typename genType> 
00129         genType asinh(genType const & x);
00130         
00136         template <typename genType> 
00137         genType acosh(genType const & x);
00138 
00144         template <typename genType> 
00145         genType atanh(genType const & x);
00146 
00148 
00149         }//namespace trigonometric
00150         }//namespace function
00151         }//namespace core
00152 
00153         using namespace core::function::trigonometric;
00154 }//namespace glm
00155 
00156 #include "func_trigonometric.inl"
00157 
00158 #endif//glm_core_func_trigonometric
00159 
00160