missed some tvec's

This commit is contained in:
Adrian Stephens 2017-06-30 19:49:02 -07:00
parent 2cbe001d34
commit 54c9b0d825

View File

@ -101,7 +101,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator+=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator+=(U scalar)
{
this->x += static_cast<T>(scalar);
return *this;
@ -117,7 +117,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator-=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator-=(U scalar)
{
this->x -= static_cast<T>(scalar);
return *this;
@ -133,7 +133,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator*=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator*=(U scalar)
{
this->x *= static_cast<T>(scalar);
return *this;
@ -149,7 +149,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator/=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator/=(U scalar)
{
this->x /= static_cast<T>(scalar);
return *this;
@ -199,7 +199,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator%=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator%=(U scalar)
{
this->x %= static_cast<T>(scalar);
return *this;
@ -215,7 +215,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator&=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator&=(U scalar)
{
this->x &= static_cast<T>(scalar);
return *this;
@ -231,7 +231,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator|=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator|=(U scalar)
{
this->x |= static_cast<T>(scalar);
return *this;
@ -247,7 +247,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator^=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator^=(U scalar)
{
this->x ^= static_cast<T>(scalar);
return *this;
@ -263,7 +263,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator<<=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator<<=(U scalar)
{
this->x <<= static_cast<T>(scalar);
return *this;
@ -279,7 +279,7 @@ namespace glm
template<typename T, precision P>
template<typename U>
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(tvec1,T, P, U) tvec1<T, P>::operator>>=(U scalar)
GLM_FUNC_QUALIFIER GLM_ONLY_SCALAR2(vec, 1, T, P, U) tvec1<T, P>::operator>>=(U scalar)
{
this->x >>= static_cast<T>(scalar);
return *this;