Added assert to row and column functions

This commit is contained in:
Christophe Riccio
2013-05-10 21:52:23 +02:00
parent 1b3d5cd378
commit 6487ed1c34
2 changed files with 16 additions and 8 deletions

View File

@@ -54,14 +54,14 @@ namespace glm
template <typename genType>
typename genType::row_type row(
genType const & m,
int index);
typename genType::size_type const & index);
/// Set a specific row to a matrix.
/// @see gtc_matrix_access
template <typename genType>
genType row(
genType const & m,
int index,
typename genType::size_type const & index,
typename genType::row_type const & x);
/// Get a specific column of a matrix.
@@ -69,14 +69,14 @@ namespace glm
template <typename genType>
typename genType::col_type column(
genType const & m,
int index);
typename genType::size_type const & index);
/// Set a specific column to a matrix.
/// @see gtc_matrix_access
template <typename genType>
genType column(
genType const & m,
int index,
typename genType::size_type const & index,
typename genType::col_type const & x);
/// @}