From 2877f4eda3d1b0c7431039e3142ecf1a282a34b1 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Tue, 21 Aug 2018 20:40:38 +0500 Subject: Update glm to 0.9.9.0 --- external/include/glm/gtc/matrix_access.inl | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'external/include/glm/gtc/matrix_access.inl') diff --git a/external/include/glm/gtc/matrix_access.inl b/external/include/glm/gtc/matrix_access.inl index 831b940..176136a 100644 --- a/external/include/glm/gtc/matrix_access.inl +++ b/external/include/glm/gtc/matrix_access.inl @@ -3,12 +3,12 @@ namespace glm { - template + template GLM_FUNC_QUALIFIER genType row ( - genType const & m, + genType const& m, length_t index, - typename genType::row_type const & x + typename genType::row_type const& x ) { assert(index >= 0 && index < m[0].length()); @@ -19,27 +19,27 @@ namespace glm return Result; } - template + template GLM_FUNC_QUALIFIER typename genType::row_type row ( - genType const & m, + genType const& m, length_t index ) { assert(index >= 0 && index < m[0].length()); - typename genType::row_type Result; + typename genType::row_type Result(0); for(length_t i = 0; i < m.length(); ++i) Result[i] = m[i][index]; return Result; } - template + template GLM_FUNC_QUALIFIER genType column ( - genType const & m, + genType const& m, length_t index, - typename genType::col_type const & x + typename genType::col_type const& x ) { assert(index >= 0 && index < m.length()); @@ -49,10 +49,10 @@ namespace glm return Result; } - template + template GLM_FUNC_QUALIFIER typename genType::col_type column ( - genType const & m, + genType const& m, length_t index ) { -- cgit v1.2.3