00001
00002
00004
00005
00006
00007
00009
00010
00011
00013
00014 #ifndef glm_gtx_matrix_projection
00015 #define glm_gtx_matrix_projection
00016
00017
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 }
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 }
00056 }
00057 }
00058
00059 #include "matrix_projection.inl"
00060
00061 namespace glm{using namespace gtx::matrix_projection;}
00062
00063 #endif//glm_gtx_matrix_projection