# GLM: reciprocal.hpp Source File

- Main Page
- Namespaces
- Files

- File List

# reciprocal.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2009 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 namespace glm
    00017 {
    00018         namespace test{
    00019                 void main_gtx_reciprocal();
    00020         }//namespace test
    00021
    00022         namespace gtx{
    00024         namespace reciprocal
    00025         {
    00029                 template <typename genType>
    00030                 genType sec(genType const & angle);
    00031
    00035                 template <typename genType>
    00036                 genType csc(genType const & angle);
    00037
    00041                 template <typename genType>
    00042                 genType cot(genType const & angle);
    00043
    00046                 template <typename genType>
    00047                 genType asec(genType const & x);
    00048
    00051                 template <typename genType>
    00052                 genType acsc(genType const & x);
    00053
    00056                 template <typename genType>
    00057                 genType acot(genType const & x);
    00058
    00061                 template <typename genType>
    00062                 genType sech(genType const & angle);
    00063
    00066                 template <typename genType>
    00067                 genType csch(genType const & angle);
    00068
    00071                 template <typename genType>
    00072                 genType coth(genType const & angle);
    00073
    00076                 template <typename genType>
    00077                 genType asech(genType const & x);
    00078
    00081                 template <typename genType>
    00082                 genType acsch(genType const & x);
    00083
    00086                 template <typename genType>
    00087                 genType acoth(genType const & x);
    00088
    00089         }//namespace reciprocal
    00090         }//namespace gtx
    00091 }//namespace glm
    00092
    00093 #define GLM_GTX_reciprocal namespace gtx::reciprocal
    00094 #ifndef GLM_GTX_GLOBAL
    00095 namespace glm {using GLM_GTX_reciprocal;}
    00096 #endif//GLM_GTX_GLOBAL
    00097
    00098 #include "reciprocal.inl"
    00099
    00100 #endif//glm_gtx_reciprocal