- Main Page
- Related Pages
- Modules
- Files

- File List

verbose_operator.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 #ifndef GLM_GTX_verbose_operator
39 #define GLM_GTX_verbose_operator GLM_VERSION
40
41 // Dependency:
42 #include "../glm.hpp"
43
44 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
45 # pragma message("GLM: GLM_GTX_verbose_operator extension included")
46 #endif
47
48 namespace glm
49 {
52
55 template <typename genTypeT, typename genTypeU>
56 genTypeT add(genTypeT const & a, genTypeU const & b);
57
60 template <typename genTypeT, typename genTypeU>
61 genTypeT sub(genTypeT const & a, genTypeU const & b);
62
65 template <typename genTypeT, typename genTypeU>
66 genTypeT mul(genTypeT const & a, genTypeU const & b);
67
70 template <typename genTypeT, typename genTypeU>
71 genTypeT div(genTypeT const & a, genTypeU const & b);
72
75 template <typename genTypeT, typename genTypeU, typename genTypeV>
76 genTypeT mad(genTypeT const & a, genTypeU const & b, genTypeV const & c);
77
79 }// namespace glm
80
81 #include "verbose_operator.inl"
82
83 #endif//GLM_GTX_verbose_operator