0.9.9 API documentation
build
glm-78xoKO
glm-0.9.9.8+ds
glm
gtx
projection.hpp
Go to the documentation of this file.
1
12
13
#pragma once
14
15
// Dependency:
16
#include "../geometric.hpp"
17
18
#if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19
# ifndef GLM_ENABLE_EXPERIMENTAL
20
# pragma message("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."
)
21
# else
22
# pragma message("GLM: GLM_GTX_projection extension included"
)
23
# endif
24
#endif
25
26
namespace
glm
27
{
30
37
template
<
typename
genType>
38
GLM_FUNC_DECL genType
proj
(genType
const
& x, genType
const
& Normal);
39
41
}
//namespace glm
42
43
#include "projection.inl"
glm::proj
GLM_FUNC_DECL genType proj(genType const &x, genType const &Normal)
Projects x on Normal.
Generated by
1.9.4