Flow Visualisation
matrix_operation.hpp
Go to the documentation of this file.
1 
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
Definition: _detail.hpp:38
detail::tmat2x4< valType > diagonal2x4(detail::tvec2< valType > const &v)
Definition: matrix_operation.inl:38
detail::tmat4x2< valType > diagonal4x2(detail::tvec2< valType > const &v)
Definition: matrix_operation.inl:115
detail::tmat2x2< valType > diagonal2x2(detail::tvec2< valType > const &v)
Definition: matrix_operation.inl:14
detail::tmat4x4< valType > diagonal4x4(detail::tvec4< valType > const &v)
Definition: matrix_operation.inl:88
detail::tmat3x4< valType > diagonal3x4(detail::tvec3< valType > const &v)
Definition: matrix_operation.inl:75
detail::tmat3x3< valType > diagonal3x3(detail::tvec3< valType > const &v)
Definition: matrix_operation.inl:62
detail::tmat2x3< valType > diagonal2x3(detail::tvec2< valType > const &v)
Definition: matrix_operation.inl:26
detail::tmat3x2< valType > diagonal3x2(detail::tvec2< valType > const &v)
Definition: matrix_operation.inl:50
detail::tmat4x3< valType > diagonal4x3(detail::tvec3< valType > const &v)
Definition: matrix_operation.inl:102