|
|
|
@ -374,7 +374,7 @@ namespace detail |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P> & tmat2x3<T, P>::operator++ () |
|
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P> & tmat2x3<T, P>::operator++() |
|
|
|
|
{ |
|
|
|
|
++this->value[0]; |
|
|
|
|
++this->value[1]; |
|
|
|
@ -382,13 +382,29 @@ namespace detail |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P> & tmat2x3<T, P>::operator-- () |
|
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P> & tmat2x3<T, P>::operator--() |
|
|
|
|
{ |
|
|
|
|
--this->value[0]; |
|
|
|
|
--this->value[1]; |
|
|
|
|
return *this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P> tmat2x3<T, P>::operator++(int) |
|
|
|
|
{ |
|
|
|
|
tmat2x3<T, P> Result(*this); |
|
|
|
|
++*this; |
|
|
|
|
return Result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P> tmat2x3<T, P>::operator--(int) |
|
|
|
|
{ |
|
|
|
|
tmat2x3<T, P> Result(*this); |
|
|
|
|
--*this; |
|
|
|
|
return Result; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////// |
|
|
|
|
// Binary operators |
|
|
|
|
|
|
|
|
@ -595,30 +611,6 @@ namespace detail |
|
|
|
|
-m[1]); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P> const operator++ |
|
|
|
|
( |
|
|
|
|
tmat2x3<T, P> const & m, |
|
|
|
|
int |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
return tmat2x3<T, P>( |
|
|
|
|
m[0] + typename tmat2x3<T, P>::value_type(1), |
|
|
|
|
m[1] + typename tmat2x3<T, P>::value_type(1)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P> const operator-- |
|
|
|
|
( |
|
|
|
|
tmat2x3<T, P> const & m, |
|
|
|
|
int |
|
|
|
|
) |
|
|
|
|
{ |
|
|
|
|
return tmat2x3<T, P>( |
|
|
|
|
m[0] - typename tmat2x3<T, P>::value_type(1), |
|
|
|
|
m[1] - typename tmat2x3<T, P>::value_type(1)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
////////////////////////////////////// |
|
|
|
|
// Boolean operators |
|
|
|
|
|
|
|
|
|