From 798e4f0e78c56c6d45c0e26ed23345e9e4fb6d93 Mon Sep 17 00:00:00 2001 From: Sami Kankaristo Date: Sun, 13 Mar 2016 21:32:41 +0200 Subject: [PATCH] Remove (old?) operator/ member functions These don't seem to have matching definitions and they conflict with similar functions in the glm namespace (in the same header files). --- glm/detail/type_mat2x2.hpp | 5 ----- glm/detail/type_mat3x3.hpp | 5 ----- glm/detail/type_mat4x4.hpp | 5 ----- 3 files changed, 15 deletions(-) diff --git a/glm/detail/type_mat2x2.hpp b/glm/detail/type_mat2x2.hpp index 0388e759..130bc7e6 100644 --- a/glm/detail/type_mat2x2.hpp +++ b/glm/detail/type_mat2x2.hpp @@ -49,11 +49,6 @@ namespace glm typedef tmat2x2 transpose_type; typedef T value_type; - template - friend tvec2 operator/(tmat2x2 const & m, tvec2 const & v); - template - friend tvec2 operator/(tvec2 const & v, tmat2x2 const & m); - private: col_type value[2]; diff --git a/glm/detail/type_mat3x3.hpp b/glm/detail/type_mat3x3.hpp index 806ae811..3b90536b 100644 --- a/glm/detail/type_mat3x3.hpp +++ b/glm/detail/type_mat3x3.hpp @@ -49,11 +49,6 @@ namespace glm typedef tmat3x3 transpose_type; typedef T value_type; - template - friend tvec3 operator/(tmat3x3 const & m, tvec3 const & v); - template - friend tvec3 operator/(tvec3 const & v, tmat3x3 const & m); - private: col_type value[3]; diff --git a/glm/detail/type_mat4x4.hpp b/glm/detail/type_mat4x4.hpp index a0008c50..c210f396 100644 --- a/glm/detail/type_mat4x4.hpp +++ b/glm/detail/type_mat4x4.hpp @@ -49,11 +49,6 @@ namespace glm typedef tmat4x4 transpose_type; typedef T value_type; - template - friend tvec4 operator/(tmat4x4 const & m, tvec4 const & v); - template - friend tvec4 operator/(tvec4 const & v, tmat4x4 const & m); - private: col_type value[4];