fast_trigonometry.hpp
00001 
00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
00004 // Created : 2006-01-08
00005 // Updated : 2006-11-13
00006 // Licence : This source is under MIT License
00007 // File    : glm/gtx/fast_trigonometry.hpp
00009 // Dependency:
00010 // - GLM core
00012 
00013 #ifndef glm_gtx_fast_trigonometry
00014 #define glm_gtx_fast_trigonometry
00015 
00016 // Dependency:
00017 #include "../glm.hpp"
00018 
00019 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00020 #       pragma message("GLM: GLM_GTX_fast_trigonometry extension included")
00021 #endif
00022 
00023 namespace glm{
00024 namespace gtx{
00025 namespace fast_trigonometry     
00026 {
00029 
00033     template <typename T> 
00034         T fastSin(const T& angle);
00035 
00039         template <typename T> 
00040         T fastCos(const T& angle);
00041 
00045         template <typename T> 
00046         T fastTan(const T& angle);
00047 
00051         template <typename T> 
00052         T fastAsin(const T& angle);
00053 
00057     template <typename T> 
00058         T fastAcos(const T& angle);
00059 
00063         template <typename T> 
00064         T fastAtan(const T& y, const T& x);
00065 
00069     template <typename T> 
00070         T fastAtan(const T& angle);
00071 
00073 }//namespace fast_trigonometry
00074 }//namespace gtx
00075 }//namespace glm
00076 
00077 #include "fast_trigonometry.inl"
00078 
00079 namespace glm{using namespace gtx::fast_trigonometry;}
00080 
00081 #endif//glm_gtx_fast_trigonometry