fast_trigonometry.hpp Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# 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 {
    00025         namespace test{
    00026                 void main_gtx_fast_trigonometry();
    00027         }//namespace test
    00028
    00029     namespace gtx{
    00031     namespace fast_trigonometry
    00032     {
    00035
    00039         template <typename T>
    00040                 T fastSin(const T& angle);
    00041
    00045                 template <typename T>
    00046                 T fastCos(const T& angle);
    00047
    00051                 template <typename T>
    00052                 T fastTan(const T& angle);
    00053
    00057                 template <typename T>
    00058                 T fastAsin(const T& angle);
    00059
    00063         template <typename T>
    00064                 T fastAcos(const T& angle);
    00065
    00069                 template <typename T>
    00070                 T fastAtan(const T& y, const T& x);
    00071
    00075         template <typename T>
    00076                 T fastAtan(const T& angle);
    00077
    00079
    00080     }//namespace fast_trigonometry
    00081     }//namespace gtx
    00082 }//namespace glm
    00083
    00084 #include "fast_trigonometry.inl"
    00085
    00086 namespace glm{using namespace gtx::fast_trigonometry;}
    00087
    00088 #endif//glm_gtx_fast_trigonometry