From 54c9b0d82547df5855442b3472db432d274467f1 Mon Sep 17 00:00:00 2001 From: Adrian Stephens Date: Fri, 30 Jun 2017 19:49:02 -0700 Subject: [PATCH] missed some tvec's --- glm/detail/type_vec1.inl | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/glm/detail/type_vec1.inl b/glm/detail/type_vec1.inl index e8ff9c8a..1e490e8b 100644 --- a/glm/detail/type_vec1.inl +++ b/glm/detail/type_vec1.inl @@ -101,7 +101,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator+=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator+=(U scalar) { this->x += static_cast(scalar); return *this; @@ -117,7 +117,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator-=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator-=(U scalar) { this->x -= static_cast(scalar); return *this; @@ -133,7 +133,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator*=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator*=(U scalar) { this->x *= static_cast(scalar); return *this; @@ -149,7 +149,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator/=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator/=(U scalar) { this->x /= static_cast(scalar); return *this; @@ -199,7 +199,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator%=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator%=(U scalar) { this->x %= static_cast(scalar); return *this; @@ -215,7 +215,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator&=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator&=(U scalar) { this->x &= static_cast(scalar); return *this; @@ -231,7 +231,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator|=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator|=(U scalar) { this->x |= static_cast(scalar); return *this; @@ -247,7 +247,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator^=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator^=(U scalar) { this->x ^= static_cast(scalar); return *this; @@ -263,7 +263,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator<<=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator<<=(U scalar) { this->x <<= static_cast(scalar); return *this; @@ -279,7 +279,7 @@ namespace glm template template - GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1::operator>>=(U scalar) + GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1::operator>>=(U scalar) { this->x >>= static_cast(scalar); return *this;