reciprocal.hpp Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# reciprocal.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2008-10-09
    00005 // Updated : 2008-10-09
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtx/reciprocal.hpp
    00009
    00010 #ifndef glm_gtx_reciprocal
    00011 #define glm_gtx_reciprocal
    00012
    00013 // Dependency:
    00014 #include "../glm.hpp"
    00015
    00016 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
    00017 #       pragma message("GLM: GLM_GTX_reciprocal extension included")
    00018 #endif
    00019
    00020 namespace glm
    00021 {
    00022         namespace test{
    00023                 void main_gtx_reciprocal();
    00024         }//namespace test
    00025
    00026         namespace gtx{
    00028         namespace reciprocal
    00029         {
    00032
    00036                 template <typename genType>
    00037                 genType sec(genType const & angle);
    00038
    00042                 template <typename genType>
    00043                 genType csc(genType const & angle);
    00044
    00048                 template <typename genType>
    00049                 genType cot(genType const & angle);
    00050
    00053                 template <typename genType>
    00054                 genType asec(genType const & x);
    00055
    00058                 template <typename genType>
    00059                 genType acsc(genType const & x);
    00060
    00063                 template <typename genType>
    00064                 genType acot(genType const & x);
    00065
    00068                 template <typename genType>
    00069                 genType sech(genType const & angle);
    00070
    00073                 template <typename genType>
    00074                 genType csch(genType const & angle);
    00075
    00078                 template <typename genType>
    00079                 genType coth(genType const & angle);
    00080
    00083                 template <typename genType>
    00084                 genType asech(genType const & x);
    00085
    00088                 template <typename genType>
    00089                 genType acsch(genType const & x);
    00090
    00093                 template <typename genType>
    00094                 genType acoth(genType const & x);
    00095
    00097
    00098         }//namespace reciprocal
    00099         }//namespace gtx
    00100 }//namespace glm
    00101
    00102 #include "reciprocal.inl"
    00103
    00104 namespace glm{using namespace gtx::reciprocal;}
    00105
    00106 #endif//glm_gtx_reciprocal