ofDocsdocumentation glm gtcmatrix_access (functions)

gtcmatrix_access (functions)


glm::column( ... )

typename genType::col_type glm::column(const genType &m, glm::length_t index)

Get a specific column of a matrix.

See also: gtc_matrix_access


glm::column( ... )

genType glm::column(const genType &m, glm::length_t index, const typename genType::col_type &x)

Set a specific column to a matrix.

See also: gtc_matrix_access


glm::row( ... )

typename genType::row_type glm::row(const genType &m, glm::length_t index)

Get a specific row of a matrix.

See also: gtc_matrix_access


glm::row( ... )

genType glm::row(const genType &m, glm::length_t index, const typename genType::row_type &x)

Set a specific row to a matrix.

See also: gtc_matrix_access