|
|
@@ -291,10 +291,7 @@ namespace detail
|
|
|
|
|
|
// This function shouldn't required but it seems that VC7.1 have an optimisation bug if this operator wasn't declared
|
|
|
template <typename T, precision P>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator=
|
|
|
- (
|
|
|
- tmat2x2<T, P> const & m
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator= (tmat2x2<T, P> const & m)
|
|
|
{
|
|
|
this->value[0] = m[0];
|
|
|
this->value[1] = m[1];
|
|
|
@@ -303,10 +300,7 @@ namespace detail
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator=
|
|
|
- (
|
|
|
- tmat2x2<U, P> const & m
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator= (tmat2x2<U, P> const & m)
|
|
|
{
|
|
|
this->value[0] = m[0];
|
|
|
this->value[1] = m[1];
|
|
|
@@ -315,10 +309,7 @@ namespace detail
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator+=
|
|
|
- (
|
|
|
- U const & s
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator+= (U s)
|
|
|
{
|
|
|
this->value[0] += s;
|
|
|
this->value[1] += s;
|
|
|
@@ -327,10 +318,7 @@ namespace detail
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator+=
|
|
|
- (
|
|
|
- tmat2x2<U, P> const & m
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator+= (tmat2x2<U, P> const & m)
|
|
|
{
|
|
|
this->value[0] += m[0];
|
|
|
this->value[1] += m[1];
|
|
|
@@ -339,10 +327,7 @@ namespace detail
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator-=
|
|
|
- (
|
|
|
- U const & s
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator-= (U s)
|
|
|
{
|
|
|
this->value[0] -= s;
|
|
|
this->value[1] -= s;
|
|
|
@@ -351,10 +336,7 @@ namespace detail
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator-=
|
|
|
- (
|
|
|
- tmat2x2<U, P> const & m
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator-= (tmat2x2<U, P> const & m)
|
|
|
{
|
|
|
this->value[0] -= m[0];
|
|
|
this->value[1] -= m[1];
|
|
|
@@ -363,10 +345,7 @@ namespace detail
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator*=
|
|
|
- (
|
|
|
- U const & s
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator*= (U s)
|
|
|
{
|
|
|
this->value[0] *= s;
|
|
|
this->value[1] *= s;
|
|
|
@@ -375,20 +354,14 @@ namespace detail
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator*=
|
|
|
- (
|
|
|
- tmat2x2<U, P> const & m
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator*= (tmat2x2<U, P> const & m)
|
|
|
{
|
|
|
return (*this = *this * m);
|
|
|
}
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator/=
|
|
|
- (
|
|
|
- U const & s
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator/= (U s)
|
|
|
{
|
|
|
this->value[0] /= s;
|
|
|
this->value[1] /= s;
|
|
|
@@ -397,10 +370,7 @@ namespace detail
|
|
|
|
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator/=
|
|
|
- (
|
|
|
- tmat2x2<U, P> const & m
|
|
|
- )
|
|
|
+ GLM_FUNC_QUALIFIER tmat2x2<T, P>& tmat2x2<T, P>::operator/= (tmat2x2<U, P> const & m)
|
|
|
{
|
|
|
return (*this = *this / m);
|
|
|
}
|