GLM Version 0.9.0

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         template <typename genType> 
00029         genType radians(genType const & degrees);
00030 
00033         template <typename genType> 
00034         genType degrees(genType const & radians);
00035 
00039         template <typename genType> 
00040         genType sin(genType const & angle);
00041 
00045         template <typename genType> 
00046         genType cos(genType const & angle);
00047 
00050         template <typename genType> 
00051         genType tan(genType const & angle); 
00052 
00057         template <typename genType> 
00058         genType asin(genType const & x);
00059 
00064         template <typename genType> 
00065         genType acos(genType const & x);
00066 
00073         template <typename genType> 
00074         genType atan(genType const & y, genType const & x);
00075 
00079         template <typename genType> 
00080         genType atan(genType const & y_over_x);
00081 
00084         template <typename genType> 
00085         genType sinh(genType const & angle);
00086 
00089         template <typename genType> 
00090         genType cosh(genType const & angle);
00091 
00094         template <typename genType> 
00095         genType tanh(genType const & angle);
00096 
00099         template <typename genType> 
00100         genType asinh(genType const & x);
00101         
00105         template <typename genType> 
00106         genType acosh(genType const & x);
00107 
00111         template <typename genType> 
00112         genType atanh(genType const & x);
00113 
00114         }//namespace trigonometric
00115         }//namespace function
00116         }//namespace core
00117 
00118         using namespace core::function::trigonometric;
00119 }//namespace glm
00120 
00121 #include "func_trigonometric.inl"
00122 
00123 #endif//glm_core_func_trigonometric
00124 
00125