diff --git a/glm/detail/_vectorize.hpp b/glm/detail/_vectorize.hpp index 13da9a5d..9604e695 100644 --- a/glm/detail/_vectorize.hpp +++ b/glm/detail/_vectorize.hpp @@ -154,63 +154,3 @@ namespace detail }; }//namespace detail }//namespace glm - -#define VECTORIZE1_VEC_SCA(func) \ - template \ - GLM_FUNC_QUALIFIER tvec1 func \ - ( \ - tvec1 const & x, \ - T y \ - ) \ - { \ - return tvec1( \ - func(x.x, y)); \ - } - -#define VECTORIZE2_VEC_SCA(func) \ - template \ - GLM_FUNC_QUALIFIER tvec2 func \ - ( \ - tvec2 const & x, \ - typename tvec2::value_type const & y \ - ) \ - { \ - return tvec2( \ - func(x.x, y), \ - func(x.y, y)); \ - } - -#define VECTORIZE3_VEC_SCA(func) \ - template \ - GLM_FUNC_QUALIFIER tvec3 func \ - ( \ - tvec3 const & x, \ - typename tvec3::value_type const & y \ - ) \ - { \ - return tvec3( \ - func(x.x, y), \ - func(x.y, y), \ - func(x.z, y)); \ - } - -#define VECTORIZE4_VEC_SCA(func) \ - template \ - GLM_FUNC_QUALIFIER tvec4 func \ - ( \ - tvec4 const & x, \ - typename tvec4::value_type const & y \ - ) \ - { \ - return tvec4( \ - func(x.x, y), \ - func(x.y, y), \ - func(x.z, y), \ - func(x.w, y)); \ - } - -#define VECTORIZE_VEC_SCA(func) \ - VECTORIZE1_VEC_SCA(func) \ - VECTORIZE2_VEC_SCA(func) \ - VECTORIZE3_VEC_SCA(func) \ - VECTORIZE4_VEC_SCA(func)