This commit is contained in:
Christophe Riccio 2014-11-15 18:58:59 +01:00
parent 0b39c3b911
commit 6a50a87a75
3 changed files with 11 additions and 12 deletions

View File

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

View File

@ -32,7 +32,7 @@ namespace glm
GLM_FUNC_QUALIFIER genType row
(
genType const & m,
length_t const & index,
length_t index,
typename genType::row_type const & x
)
{
@ -48,7 +48,7 @@ namespace glm
GLM_FUNC_QUALIFIER typename genType::row_type row
(
genType const & m,
length_t const & index
length_t index
)
{
assert(index >= 0 && static_cast<detail::component_count_t>(index) < detail::component_count(m[0]));
@ -63,7 +63,7 @@ namespace glm
GLM_FUNC_QUALIFIER genType column
(
genType const & m,
length_t const & index,
length_t index,
typename genType::col_type const & x
)
{
@ -78,7 +78,7 @@ namespace glm
GLM_FUNC_QUALIFIER typename genType::col_type column
(
genType const & m,
length_t const & index
length_t index
)
{
assert(index >= 0 && static_cast<detail::component_count_t>(index) < detail::component_count(m));

View File

@ -61,9 +61,8 @@ namespace glm
/// @param m Input matrix to invert transpose.
/// @tparam genType Squared floating-point matrix: half, float or double. Inverse of matrix based of half-precision floating point value is highly innacurate.
/// @see gtc_matrix_inverse
template <typename genType>
GLM_FUNC_DECL typename genType::value_type inverseTranspose(
genType const & m);
template <typename genType>
GLM_FUNC_DECL genType inverseTranspose(genType const & m);
/// @}
}//namespace glm