5 template<
typename genType>
6 GLM_FUNC_QUALIFIER genType
row
10 typename genType::row_type
const& x
13 assert(index >= 0 && index < m[0].length());
16 for(length_t i = 0; i < m.length(); ++i)
17 Result[i][index] = x[i];
21 template<
typename genType>
22 GLM_FUNC_QUALIFIER
typename genType::row_type
row
28 assert(index >= 0 && index < m[0].length());
30 typename genType::row_type Result(0);
31 for(length_t i = 0; i < m.length(); ++i)
32 Result[i] = m[i][index];
36 template<
typename genType>
41 typename genType::col_type
const& x
44 assert(index >= 0 && index < m.length());
51 template<
typename genType>
52 GLM_FUNC_QUALIFIER
typename genType::col_type
column
58 assert(index >= 0 && index < m.length());
GLM_FUNC_DECL genType::row_type row(genType const &m, length_t index)
Definition matrix_access.inl:23
GLM_FUNC_DECL genType::col_type column(genType const &m, length_t index)
Definition matrix_access.inl:53
Core features
Definition common.hpp:21