- Main Page
- Related Pages
- Modules
- Files

- File List

normal.hpp
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 #ifndef GLM_GTX_normal
40 #define GLM_GTX_normal GLM_VERSION
41
42 // Dependency:
43 #include "../glm.hpp"
44
45 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
46 # pragma message("GLM: GLM_GTX_normal extension included")
47 #endif
48
49 namespace glm
50 {
53
56 template <typename T>
57 detail::tvec3<T> triangleNormal(
58 detail::tvec3<T> const & p1,
59 detail::tvec3<T> const & p2,
60 detail::tvec3<T> const & p3);
61
63 }//namespace glm
64
65 #include "normal.inl"
66
67 #endif//GLM_GTX_normal