|
@@ -71,13 +71,6 @@ namespace glm
|
|
|
# endif
|
|
# endif
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
- GLM_FUNC_QUALIFIER tmat2x3<T, P>::tmat2x3(tmat2x3<T, P> const & m)
|
|
|
|
|
- {
|
|
|
|
|
- this->value[0] = m.value[0];
|
|
|
|
|
- this->value[1] = m.value[1];
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
template <typename T, precision P>
|
|
template <typename T, precision P>
|
|
|
template <precision Q>
|
|
template <precision Q>
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P>::tmat2x3(tmat2x3<T, Q> const & m)
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P>::tmat2x3(tmat2x3<T, Q> const & m)
|
|
@@ -210,15 +203,7 @@ namespace glm
|
|
|
// Unary updatable operators
|
|
// Unary updatable operators
|
|
|
|
|
|
|
|
template <typename T, precision P>
|
|
template <typename T, precision P>
|
|
|
- GLM_FUNC_QUALIFIER tmat2x3<T, P>& tmat2x3<T, P>::operator=(tmat2x3<T, P> const & m)
|
|
|
|
|
- {
|
|
|
|
|
- this->value[0] = m[0];
|
|
|
|
|
- this->value[1] = m[1];
|
|
|
|
|
- return *this;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
- template <typename U>
|
|
|
|
|
|
|
+ template <typename U>
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P>& tmat2x3<T, P>::operator=(tmat2x3<U, P> const & m)
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P>& tmat2x3<T, P>::operator=(tmat2x3<U, P> const & m)
|
|
|
{
|
|
{
|
|
|
this->value[0] = m[0];
|
|
this->value[0] = m[0];
|
|
@@ -226,8 +211,8 @@ namespace glm
|
|
|
return *this;
|
|
return *this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
- template <typename U>
|
|
|
|
|
|
|
+ template <typename T, precision P>
|
|
|
|
|
+ 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)
|
|
|
{
|
|
{
|
|
|
this->value[0] += s;
|
|
this->value[0] += s;
|
|
@@ -235,8 +220,8 @@ namespace glm
|
|
|
return *this;
|
|
return *this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
- template <typename U>
|
|
|
|
|
|
|
+ template <typename T, precision P>
|
|
|
|
|
+ template <typename U>
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P>& tmat2x3<T, P>::operator+=(tmat2x3<U, P> const & m)
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P>& tmat2x3<T, P>::operator+=(tmat2x3<U, P> const & m)
|
|
|
{
|
|
{
|
|
|
this->value[0] += m[0];
|
|
this->value[0] += m[0];
|
|
@@ -244,8 +229,8 @@ namespace glm
|
|
|
return *this;
|
|
return *this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
- template <typename U>
|
|
|
|
|
|
|
+ template <typename T, precision P>
|
|
|
|
|
+ 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)
|
|
|
{
|
|
{
|
|
|
this->value[0] -= s;
|
|
this->value[0] -= s;
|
|
@@ -253,8 +238,8 @@ namespace glm
|
|
|
return *this;
|
|
return *this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
- template <typename U>
|
|
|
|
|
|
|
+ template <typename T, precision P>
|
|
|
|
|
+ template <typename U>
|
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P>& tmat2x3<T, P>::operator-=(tmat2x3<U, P> const & m)
|
|
GLM_FUNC_QUALIFIER tmat2x3<T, P>& tmat2x3<T, P>::operator-=(tmat2x3<U, P> const & m)
|
|
|
{
|
|
{
|
|
|
this->value[0] -= m[0];
|
|
this->value[0] -= m[0];
|
|
@@ -262,8 +247,8 @@ namespace glm
|
|
|
return *this;
|
|
return *this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
- template <typename U>
|
|
|
|
|
|
|
+ template <typename T, precision P>
|
|
|
|
|
+ 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)
|
|
|
{
|
|
{
|
|
|
this->value[0] *= s;
|
|
this->value[0] *= s;
|
|
@@ -272,7 +257,7 @@ namespace glm
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
{
|
|
{
|
|
|
this->value[0] /= s;
|
|
this->value[0] /= s;
|
|
@@ -280,7 +265,7 @@ namespace glm
|
|
|
return *this;
|
|
return *this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
|
|
+ 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[0];
|
|
@@ -288,7 +273,7 @@ namespace glm
|
|
|
return *this;
|
|
return *this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
|
|
+ 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[0];
|