0.9.8
matrix_access.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 
14 // Dependency:
15 #include "../detail/setup.hpp"
16 
17 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
18 # pragma message("GLM: GLM_GTC_matrix_access extension included")
19 #endif
20 
21 namespace glm
22 {
25 
28  template <typename genType>
29  GLM_FUNC_DECL typename genType::row_type row(
30  genType const & m,
31  length_t index);
32 
35  template <typename genType>
36  GLM_FUNC_DECL genType row(
37  genType const & m,
38  length_t index,
39  typename genType::row_type const & x);
40 
43  template <typename genType>
44  GLM_FUNC_DECL typename genType::col_type column(
45  genType const & m,
46  length_t index);
47 
50  template <typename genType>
51  GLM_FUNC_DECL genType column(
52  genType const & m,
53  length_t index,
54  typename genType::col_type const & x);
55 
57 }//namespace glm
58 
59 #include "matrix_access.inl"
Definition: _noise.hpp:11
GLM_FUNC_DECL genType row(genType const &m, length_t index, typename genType::row_type const &x)
Set a specific row to a matrix.
GLM_FUNC_DECL genType column(genType const &m, length_t index, typename genType::col_type const &x)
Set a specific column to a matrix.