- Main Page
- Namespaces
- Files

- File List

# matrix_projection.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2010 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2005-12-21
    00005 // Updated : 2009-04-29
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtx/matrix_projection.hpp
    00009 // Dependency:
    00010 // - GLM core
    00011 // - GLM_GTC_matrix_projection
    00013
    00014 #ifndef glm_gtx_matrix_projection
    00015 #define glm_gtx_matrix_projection
    00016
    00017 // Dependency:
    00018 #include "../glm.hpp"
    00019 #include "../gtc/matrix_projection.hpp"
    00020
    00021 namespace glm
    00022 {
    00023         namespace test{
    00024                 void main_gtx_matrix_projection();
    00025         }//namespace test
    00026
    00027     namespace gtx{
    00029     namespace matrix_projection
    00030     {
    00031                 using namespace gtc::matrix_projection;
    00032
    00035                 template <typename valType>
    00036                 detail::tmat4x4<valType> perspectiveFov(
    00037                         valType const & fov,
    00038                         valType const & width,
    00039                         valType const & height,
    00040                         valType const & zNear,
    00041                         valType const & zFar);
    00042
    00045         template <typename T>
    00046                 detail::tmat4x4<T> infinitePerspective(
    00047                         T fovy, T aspect, T zNear);
    00048
    00051         template <typename T>
    00052                 detail::tmat4x4<T> tweakedInfinitePerspective(
    00053                         T fovy, T aspect, T zNear);
    00054
    00055     }//namespace matrix_projection
    00056     }//namespace gtx
    00057 }//namespace glm
    00058
    00059 #include "matrix_projection.inl"
    00060
    00061 namespace glm{using namespace gtx::matrix_projection;}
    00062
    00063 #endif//glm_gtx_matrix_projection