Functions | |
template<typename genType > | |
genType::col_type | column (genType const &m, int index) |
template<typename genType > | |
genType | column (genType const &m, int index, typename genType::col_type const &x) |
template<typename genType > | |
genType::row_type | row (genType const &m, int index) |
template<typename genType > | |
genType | row (genType const &m, int index, typename genType::row_type const &x) |
Defines functions to access rows or columns of a matrix easily. <glm/gtc/matrix_access.hpp> need to be included to use these functionalities.
genType::col_type glm::gtc::matrix_access::column | ( | genType const & | m, |
int | index | ||
) |
Get a specific column of a matrix.
From GLM_GTC_matrix_access extension.
genType glm::gtc::matrix_access::column | ( | genType const & | m, |
int | index, | ||
typename genType::col_type const & | x | ||
) |
Set a specific column to a matrix.
From GLM_GTC_matrix_access extension.
genType::row_type glm::gtc::matrix_access::row | ( | genType const & | m, |
int | index | ||
) |
Get a specific row of a matrix.
From GLM_GTC_matrix_access extension.
genType glm::gtc::matrix_access::row | ( | genType const & | m, |
int | index, | ||
typename genType::row_type const & | x | ||
) |
Set a specific row to a matrix.
From GLM_GTC_matrix_access extension.