Removed invalid *= operators for non square matrix

master
Christophe Riccio ago%!(EXTRA string=12 years)
parent da6e485aad
commit da67a79222
  1. 2
      glm/core/type_mat2x3.hpp
  2. 7
      glm/core/type_mat2x3.inl
  3. 2
      glm/core/type_mat2x4.hpp
  4. 7
      glm/core/type_mat2x4.inl
  5. 2
      glm/core/type_mat3x2.hpp
  6. 7
      glm/core/type_mat3x2.inl
  7. 2
      glm/core/type_mat3x4.hpp
  8. 7
      glm/core/type_mat3x4.inl
  9. 2
      glm/core/type_mat4x2.hpp
  10. 7
      glm/core/type_mat4x2.inl
  11. 2
      glm/core/type_mat4x3.hpp
  12. 7
      glm/core/type_mat4x3.inl

@ -125,8 +125,6 @@ namespace detail
template <typename U> template <typename U>
GLM_FUNC_DECL tmat2x3<T, P> & operator*= (U s); GLM_FUNC_DECL tmat2x3<T, P> & operator*= (U s);
template <typename U> template <typename U>
GLM_FUNC_DECL tmat2x3<T, P> & operator*= (tmat2x3<U, P> const & m);
template <typename U>
GLM_FUNC_DECL tmat2x3<T, P> & operator/= (U s); GLM_FUNC_DECL tmat2x3<T, P> & operator/= (U s);
////////////////////////////////////// //////////////////////////////////////

@ -339,13 +339,6 @@ namespace detail
return *this; return *this;
} }
template <typename T, precision P>
template <typename U>
GLM_FUNC_QUALIFIER tmat2x3<T, P> & tmat2x3<T, P>::operator*= (tmat2x3<U, P> const & m)
{
return (*this = tmat2x3<U, P>(*this * m));
}
template <typename T, precision P> template <typename T, precision P>
template <typename U> template <typename U>
GLM_FUNC_QUALIFIER tmat2x3<T, P> & tmat2x3<T, P>::operator/= (U s) GLM_FUNC_QUALIFIER tmat2x3<T, P> & tmat2x3<T, P>::operator/= (U s)

@ -127,8 +127,6 @@ namespace detail
template <typename U> template <typename U>
GLM_FUNC_DECL tmat2x4<T, P>& operator*= (U s); GLM_FUNC_DECL tmat2x4<T, P>& operator*= (U s);
template <typename U> template <typename U>
GLM_FUNC_DECL tmat2x4<T, P>& operator*= (tmat2x4<U, P> const & m);
template <typename U>
GLM_FUNC_DECL tmat2x4<T, P>& operator/= (U s); GLM_FUNC_DECL tmat2x4<T, P>& operator/= (U s);
////////////////////////////////////// //////////////////////////////////////

@ -342,13 +342,6 @@ namespace detail
return *this; return *this;
} }
template <typename T, precision P>
template <typename U>
GLM_FUNC_QUALIFIER tmat2x4<T, P>& tmat2x4<T, P>::operator*= (tmat2x4<U, P> const & m)
{
return (*this = tmat2x4<T, P>(*this * m));
}
template <typename T, precision P> template <typename T, precision P>
template <typename U> template <typename U>
GLM_FUNC_QUALIFIER tmat2x4<T, P> & tmat2x4<T, P>::operator/= (U s) GLM_FUNC_QUALIFIER tmat2x4<T, P> & tmat2x4<T, P>::operator/= (U s)

@ -131,8 +131,6 @@ namespace detail
template <typename U> template <typename U>
GLM_FUNC_DECL tmat3x2<T, P> & operator*= (U s); GLM_FUNC_DECL tmat3x2<T, P> & operator*= (U s);
template <typename U> template <typename U>
GLM_FUNC_DECL tmat3x2<T, P> & operator*= (tmat3x2<U, P> const & m);
template <typename U>
GLM_FUNC_DECL tmat3x2<T, P> & operator/= (U s); GLM_FUNC_DECL tmat3x2<T, P> & operator/= (U s);
////////////////////////////////////// //////////////////////////////////////

@ -369,13 +369,6 @@ namespace detail
return *this; return *this;
} }
template <typename T, precision P>
template <typename U>
GLM_FUNC_QUALIFIER tmat3x2<T, P>& tmat3x2<T, P>::operator*= (tmat3x2<U, P> const & m)
{
return (*this = tmat3x2<T, P>(*this * m));
}
template <typename T, precision P> template <typename T, precision P>
template <typename U> template <typename U>
GLM_FUNC_QUALIFIER tmat3x2<T, P> & tmat3x2<T, P>::operator/= (U s) GLM_FUNC_QUALIFIER tmat3x2<T, P> & tmat3x2<T, P>::operator/= (U s)

@ -131,8 +131,6 @@ namespace detail
template <typename U> template <typename U>
GLM_FUNC_DECL tmat3x4<T, P> & operator*= (U s); GLM_FUNC_DECL tmat3x4<T, P> & operator*= (U s);
template <typename U> template <typename U>
GLM_FUNC_DECL tmat3x4<T, P> & operator*= (tmat3x4<U, P> const & m);
template <typename U>
GLM_FUNC_DECL tmat3x4<T, P> & operator/= (U s); GLM_FUNC_DECL tmat3x4<T, P> & operator/= (U s);
////////////////////////////////////// //////////////////////////////////////

@ -368,13 +368,6 @@ namespace detail
return *this; return *this;
} }
template <typename T, precision P>
template <typename U>
GLM_FUNC_QUALIFIER tmat3x4<T, P>& tmat3x4<T, P>::operator*= (tmat3x4<U, P> const & m)
{
return (*this = tmat3x4<T, P>(*this * m));
}
template <typename T, precision P> template <typename T, precision P>
template <typename U> template <typename U>
GLM_FUNC_QUALIFIER tmat3x4<T, P> & tmat3x4<T, P>::operator/= (U s) GLM_FUNC_QUALIFIER tmat3x4<T, P> & tmat3x4<T, P>::operator/= (U s)

@ -136,8 +136,6 @@ namespace detail
template <typename U> template <typename U>
GLM_FUNC_DECL tmat4x2<T, P>& operator*= (U s); GLM_FUNC_DECL tmat4x2<T, P>& operator*= (U s);
template <typename U> template <typename U>
GLM_FUNC_DECL tmat4x2<T, P>& operator*= (tmat4x2<U, P> const & m);
template <typename U>
GLM_FUNC_DECL tmat4x2<T, P>& operator/= (U s); GLM_FUNC_DECL tmat4x2<T, P>& operator/= (U s);
////////////////////////////////////// //////////////////////////////////////

@ -401,13 +401,6 @@ namespace detail
return *this; return *this;
} }
template <typename T, precision P>
template <typename U>
GLM_FUNC_QUALIFIER tmat4x2<T, P> & tmat4x2<T, P>::operator*= (tmat4x2<U, P> const & m)
{
return (*this = tmat4x2<T, P>(*this * m));
}
template <typename T, precision P> template <typename T, precision P>
template <typename U> template <typename U>
GLM_FUNC_QUALIFIER tmat4x2<T, P> & tmat4x2<T, P>::operator/= (U s) GLM_FUNC_QUALIFIER tmat4x2<T, P> & tmat4x2<T, P>::operator/= (U s)

@ -136,8 +136,6 @@ namespace detail
template <typename U> template <typename U>
GLM_FUNC_DECL tmat4x3<T, P> & operator*= (U s); GLM_FUNC_DECL tmat4x3<T, P> & operator*= (U s);
template <typename U> template <typename U>
GLM_FUNC_DECL tmat4x3<T, P> & operator*= (tmat4x3<U, P> const & m);
template <typename U>
GLM_FUNC_DECL tmat4x3<T, P> & operator/= (U s); GLM_FUNC_DECL tmat4x3<T, P> & operator/= (U s);
////////////////////////////////////// //////////////////////////////////////

@ -401,13 +401,6 @@ namespace detail
return *this; return *this;
} }
template <typename T, precision P>
template <typename U>
GLM_FUNC_QUALIFIER tmat4x3<T, P> & tmat4x3<T, P>::operator*= (tmat4x3<U, P> const & m)
{
return (*this = tmat4x3<T, P>(*this * m));
}
template <typename T, precision P> template <typename T, precision P>
template <typename U> template <typename U>
GLM_FUNC_QUALIFIER tmat4x3<T, P> & tmat4x3<T, P>::operator/= (U s) GLM_FUNC_QUALIFIER tmat4x3<T, P> & tmat4x3<T, P>::operator/= (U s)

Loading…
Cancel
Save