0.9.8: projection.hpp Source File

| 0.9.8

- Main Page
- Modules
- Files

- File List

projection.hpp
Go to the documentation of this file.
1
13 #pragma once
14
15 // Dependency:
16 #include "../geometric.hpp"
17
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_GTX_projection extension included")
20 #endif
21
22 namespace glm
23 {
26
30 template <typename vecType>
31 GLM_FUNC_DECL vecType proj(vecType const & x, vecType const & Normal);
32
34 }//namespace glm
35
36 #include "projection.inl"
glm::proj
GLM_FUNC_DECL vecType proj(vecType const &x, vecType const &Normal)
Projects x on Normal.
glm
Definition: _noise.hpp:11