0.9.6
matrix_access.hpp
Go to the documentation of this file.
1 
37 #pragma once
38 
39 // Dependency:
40 #include "../detail/setup.hpp"
41 
42 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
43 # pragma message("GLM: GLM_GTC_matrix_access extension included")
44 #endif
45 
46 namespace glm
47 {
50 
53  template <typename genType>
54  GLM_FUNC_DECL typename genType::row_type row(
55  genType const & m,
56  length_t index);
57 
60  template <typename genType>
61  GLM_FUNC_DECL genType row(
62  genType const & m,
63  length_t index,
64  typename genType::row_type const & x);
65 
68  template <typename genType>
69  GLM_FUNC_DECL typename genType::col_type column(
70  genType const & m,
71  length_t index);
72 
75  template <typename genType>
76  GLM_FUNC_DECL genType column(
77  genType const & m,
78  length_t index,
79  typename genType::col_type const & x);
80 
82 }//namespace glm
83 
84 #include "matrix_access.inl"
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.
Definition: _noise.hpp:31