- Main Page
- Namespaces
- Files

- File List

# fast_trigonometry.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2009 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 namespace glm
    00020 {
    00021         namespace test{
    00022                 void main_gtx_fast_trigonometry();
    00023         }//namespace test
    00024
    00025     namespace gtx{
    00027     namespace fast_trigonometry
    00028     {
    00032         template <typename T>
    00033                 T fastSin(const T& angle);
    00034
    00038                 template <typename T>
    00039                 T fastCos(const T& angle);
    00040
    00044                 template <typename T>
    00045                 T fastTan(const T& angle);
    00046
    00050                 template <typename T>
    00051                 T fastAsin(const T& angle);
    00052
    00056         template <typename T>
    00057                 T fastAcos(const T& angle);
    00058
    00062                 template <typename T>
    00063                 T fastAtan(const T& y, const T& x);
    00064
    00068         template <typename T>
    00069                 T fastAtan(const T& angle);
    00070
    00071     }//namespace fast_trigonometry
    00072     }//namespace gtx
    00073 }//namespace glm
    00074
    00075 #define GLM_GTX_fast_trigonometry namespace gtx::fast_trigonometry
    00076 #ifndef GLM_GTX_GLOBAL
    00077 namespace glm {using GLM_GTX_fast_trigonometry;}
    00078 #endif//GLM_GTX_GLOBAL
    00079
    00080 #include "fast_trigonometry.inl"
    00081
    00082 #endif//glm_gtx_fast_trigonometry