diff --git a/glm/gtc/matrix_access.hpp b/glm/gtc/matrix_access.hpp index b78a018b..aeeff37c 100644 --- a/glm/gtc/matrix_access.hpp +++ b/glm/gtc/matrix_access.hpp @@ -52,15 +52,15 @@ namespace glm /// @see gtc_matrix_access template 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 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 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 GLM_FUNC_DECL genType column( genType const & m, - length_t const & index, + length_t index, typename genType::col_type const & x); /// @} diff --git a/glm/gtc/matrix_access.inl b/glm/gtc/matrix_access.inl index bd6907ab..1a1a4803 100644 --- a/glm/gtc/matrix_access.inl +++ b/glm/gtc/matrix_access.inl @@ -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(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(index) < detail::component_count(m)); diff --git a/glm/gtc/matrix_inverse.hpp b/glm/gtc/matrix_inverse.hpp index 803825f0..283eebd0 100644 --- a/glm/gtc/matrix_inverse.hpp +++ b/glm/gtc/matrix_inverse.hpp @@ -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 - GLM_FUNC_DECL typename genType::value_type inverseTranspose( - genType const & m); + template + GLM_FUNC_DECL genType inverseTranspose(genType const & m); /// @} }//namespace glm