From 99d3486e1fb044a524702d424b9c3f383b13b884 Mon Sep 17 00:00:00 2001 From: Sami Kankaristo Date: Tue, 15 Mar 2016 03:24:53 +0200 Subject: [PATCH] Rename tvec1 parameters from scalar to v1/v2 --- glm/detail/type_vec4.hpp | 4 ++-- glm/detail/type_vec4.inl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/glm/detail/type_vec4.hpp b/glm/detail/type_vec4.hpp index 067b3ed7..624bcf8f 100644 --- a/glm/detail/type_vec4.hpp +++ b/glm/detail/type_vec4.hpp @@ -394,13 +394,13 @@ namespace detail GLM_FUNC_DECL tvec4 operator/(tvec4 const & v, T scalar); template - GLM_FUNC_DECL tvec4 operator/(tvec4 const & v, tvec1 const & scalar); + GLM_FUNC_DECL tvec4 operator/(tvec4 const & v1, tvec1 const & v2); template GLM_FUNC_DECL tvec4 operator/(T scalar, tvec4 const & v); template - GLM_FUNC_DECL tvec4 operator/(tvec1 const & scalar, tvec4 const & v); + GLM_FUNC_DECL tvec4 operator/(tvec1 const & v1, tvec4 const & v2); template GLM_FUNC_DECL tvec4 operator/(tvec4 const & v1, tvec4 const & v2); diff --git a/glm/detail/type_vec4.inl b/glm/detail/type_vec4.inl index 3ef51fdf..29b78bf5 100644 --- a/glm/detail/type_vec4.inl +++ b/glm/detail/type_vec4.inl @@ -802,7 +802,7 @@ namespace glm } template - GLM_FUNC_QUALIFIER tvec4 operator/(tvec4 const & v, tvec1 const & scalar) + GLM_FUNC_QUALIFIER tvec4 operator/(tvec4 const & v1, tvec1 const & v2) { return tvec4( v1.x / v2.x, @@ -822,7 +822,7 @@ namespace glm } template - GLM_FUNC_DECL tvec4 operator/(tvec1 const & scalar, tvec4 const & v) + GLM_FUNC_DECL tvec4 operator/(tvec1 const & v1, tvec4 const & v2) { return tvec4( v1.x / v2.x,