37 #ifndef GLM_GTC_matrix_access
38 #define GLM_GTC_matrix_access
41 #include "../detail/setup.hpp"
43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44 # pragma message("GLM: GLM_GTC_matrix_access extension included")
54 template <
typename genType>
55 typename genType::row_type
row(
57 length_t
const & index);
61 template <
typename genType>
64 length_t
const & index,
65 typename genType::row_type
const & x);
69 template <
typename genType>
70 typename genType::col_type
column(
72 length_t
const & index);
76 template <
typename genType>
79 length_t
const & index,
80 typename genType::col_type
const & x);
85 #include "matrix_access.inl"
87 #endif//GLM_GTC_matrix_access
genType::col_type column(genType const &m, length_t const &index)
Get a specific column of a matrix.
genType::row_type row(genType const &m, length_t const &index)
Get a specific row of a matrix.