- Main Page
- Related Pages
- Modules
- Files

- File List

matrix_operation.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_matrix_operation
39 #define GLM_GTX_matrix_operation GLM_VERSION
40
41 // Dependency:
42 #include "../glm.hpp"
43
44 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
45 # pragma message("GLM: GLM_GTX_matrix_operation extension included")
46 #endif
47
48 namespace glm
49 {
52
55 template <typename valType>
56 detail::tmat2x2<valType> diagonal2x2(
57 detail::tvec2<valType> const & v);
58
61 template <typename valType>
62 detail::tmat2x3<valType> diagonal2x3(
63 detail::tvec2<valType> const & v);
64
67 template <typename valType>
68 detail::tmat2x4<valType> diagonal2x4(
69 detail::tvec2<valType> const & v);
70
73 template <typename valType>
74 detail::tmat3x2<valType> diagonal3x2(
75 detail::tvec2<valType> const & v);
76
79 template <typename valType>
80 detail::tmat3x3<valType> diagonal3x3(
81 detail::tvec3<valType> const & v);
82
85 template <typename valType>
86 detail::tmat3x4<valType> diagonal3x4(
87 detail::tvec3<valType> const & v);
88
91 template <typename valType>
92 detail::tmat4x2<valType> diagonal4x2(
93 detail::tvec2<valType> const & v);
94
97 template <typename valType>
98 detail::tmat4x3<valType> diagonal4x3(
99 detail::tvec3<valType> const & v);
100
103 template <typename valType>
104 detail::tmat4x4<valType> diagonal4x4(
105 detail::tvec4<valType> const & v);
106
108 }//namespace glm
109
110 #include "matrix_operation.inl"
111
112 #endif//GLM_GTX_matrix_operation