0.9.9 API documenation
projection.hpp
Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../geometric.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_projection is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_projection extension included")
24 #endif
25 
26 namespace glm
27 {
30 
34  template<typename genType>
35  GLM_FUNC_DECL genType proj(genType const& x, genType const& Normal);
36 
38 }//namespace glm
39 
40 #include "projection.inl"
GLM_FUNC_DECL genType proj(genType const &x, genType const &Normal)
Projects x on Normal.
Definition: common.hpp:20