From abb7fecc5e8be3b06654a145e2e6d26c3905dd08 Mon Sep 17 00:00:00 2001 From: devmane144 Date: Thu, 1 Feb 2018 15:01:30 -0600 Subject: [PATCH] Update type_vec4.hpp --- glm/detail/type_vec4.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/glm/detail/type_vec4.hpp b/glm/detail/type_vec4.hpp index 3e338bc4..b4230567 100644 --- a/glm/detail/type_vec4.hpp +++ b/glm/detail/type_vec4.hpp @@ -281,7 +281,7 @@ namespace glm // -- Binary operators -- template - GLM_FUNC_DECL vec<4, T, Q> operator+(vec<4, T, Q> const& v, T scalar); + GLM_FUNC_DECL vec<4, T, Q> operator+(vec<4, T, Q> const& v, T const & scalar); template GLM_FUNC_DECL vec<4, T, Q> operator+(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2); @@ -296,7 +296,7 @@ namespace glm GLM_FUNC_DECL vec<4, T, Q> operator+(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2); template - GLM_FUNC_DECL vec<4, T, Q> operator-(vec<4, T, Q> const& v, T scalar); + GLM_FUNC_DECL vec<4, T, Q> operator-(vec<4, T, Q> const& v, T const & scalar); template GLM_FUNC_DECL vec<4, T, Q> operator-(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2); @@ -311,7 +311,7 @@ namespace glm GLM_FUNC_DECL vec<4, T, Q> operator-(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2); template - GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v, T scalar); + GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v, T const & scalar); template GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2); @@ -326,7 +326,7 @@ namespace glm GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2); template - GLM_FUNC_DECL vec<4, T, Q> operator/(vec<4, T, Q> const& v, T scalar); + GLM_FUNC_DECL vec<4, T, Q> operator/(vec<4, T, Q> const& v, T const & scalar); template GLM_FUNC_DECL vec<4, T, Q> operator/(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2);