GLM
0.9.5
Main Page
Related Pages
Modules
Namespaces
Files
File List
Users
Groove
Documents
GitHub
glm
glm
gtx
projection.hpp
Go to the documentation of this file.
1
38
#ifndef GLM_GTX_projection
39
#define GLM_GTX_projection
40
41
// Dependency:
42
#include "../glm.hpp"
43
44
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45
# pragma message("GLM: GLM_GTX_projection extension included")
46
#endif
47
48
namespace
glm
49
{
52
55
template
<
typename
vecType>
56
vecType
proj
(
57
vecType
const
& x,
58
vecType
const
& Normal);
59
61
}
//namespace glm
62
63
#include "projection.inl"
64
65
#endif//GLM_GTX_projection
glm::proj
vecType proj(vecType const &x, vecType const &Normal)
Projects x on Normal.
Generated by
1.8.5