projection.hpp Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# projection.hpp

    00001
    00002 // OpenGL Mathematics Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net)
    00004 // Created : 2005-12-21
    00005 // Updated : 2009-03-06
    00006 // Licence : This source is under MIT License
    00007 // File    : glm/gtx/projection.hpp
    00009 // Dependency:
    00010 // - GLM core
    00012
    00013 #ifndef glm_gtx_projection
    00014 #define glm_gtx_projection
    00015
    00016 // Dependency:
    00017 #include "../glm.hpp"
    00018
    00019 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
    00020 #       pragma message("GLM: GLM_GTX_projection extension included")
    00021 #endif
    00022
    00023 namespace glm
    00024 {
    00025         namespace test{
    00026                 void main_gtx_projection();
    00027         }//namespace test
    00028
    00029         namespace gtx{
    00031         namespace projection
    00032         {
    00035
    00038                 template <typename T>
    00039                 detail::tvec2<T> proj(
    00040                         detail::tvec2<T> const & x,
    00041                         detail::tvec2<T> const & Normal);
    00042
    00045                 template <typename T>
    00046                 detail::tvec3<T> proj(
    00047                         detail::tvec3<T> const & x,
    00048                         detail::tvec3<T> const & Normal);
    00049
    00052                 template <typename T>
    00053                 detail::tvec4<T> proj(
    00054                         detail::tvec4<T> const & x,
    00055                         detail::tvec4<T> const & Normal);
    00056
    00058
    00059         }//namespace projection
    00060     }//namespace gtx
    00061 }//namespace glm
    00062
    00063 #include "projection.inl"
    00064
    00065 namespace glm{using namespace gtx::projection;}
    00066
    00067 #endif//glm_gtx_projection