VecMath.hpp   VecMath.hpp 
skipping to change at line 350 skipping to change at line 350
template<class T> void Vector2<T>::operator-=(const Vector2<T>& a) template<class T> void Vector2<T>::operator-=(const Vector2<T>& a)
{ {
v[0] -= a.v[0]; v[1] -= a.v[1]; v[0] -= a.v[0]; v[1] -= a.v[1];
} }
template<class T> void Vector2<T>::operator*=(T s) template<class T> void Vector2<T>::operator*=(T s)
{ {
v[0] *= s; v[1] *= s; v[0] *= s; v[1] *= s;
} }
template<class T> void Vector2<T>::operator/=(T s)
{
v[0] /= s; v[1] /= s;
}
template<class T> Vector2<T> Vector2<T>::operator-() const template<class T> Vector2<T> Vector2<T>::operator-() const
{ {
return Vector2<T>(-v[0], -v[1]); return Vector2<T>(-v[0], -v[1]);
} }
template<class T> Vector2<T> Vector2<T>::operator+() const template<class T> Vector2<T> Vector2<T>::operator+() const
{ {
return *this; return *this;
} }
skipping to change at line 682 skipping to change at line 687
return v; return v;
} }
template<class T> void Vector4<T>::operator+=(const Vector4<T>& a) template<class T> void Vector4<T>::operator+=(const Vector4<T>& a)
{ {
v[0] += a.v[0]; v[1] += a.v[1]; v[2] += a.v[2]; v[3] += a.v[3]; v[0] += a.v[0]; v[1] += a.v[1]; v[2] += a.v[2]; v[3] += a.v[3];
} }
template<class T> void Vector4<T>::operator-=(const Vector4<T>& a) template<class T> void Vector4<T>::operator-=(const Vector4<T>& a)
{ {
v[0] -= a.v[0]; v[1] -= a.v[1]; v[2] -= a.v[2]; v[3] -= a/v[3]; v[0] -= a.v[0]; v[1] -= a.v[1]; v[2] -= a.v[2]; v[3] -= a.v[3];
} }
template<class T> void Vector4<T>::operator*=(T s) template<class T> void Vector4<T>::operator*=(T s)
{ {
v[0] *= s; v[1] *= s; v[2] *= s; v[3] *= s; v[0] *= s; v[1] *= s; v[2] *= s; v[3] *= s;
} }
template<class T> void Vector4<T>::operator/=(T s)
{
v[0] /= s; v[1] /= s; v[2] /= s; v[3] /= s;
}
template<class T> Vector4<T> Vector4<T>::operator-() const template<class T> Vector4<T> Vector4<T>::operator-() const
{ {
return Vector4<T>(-v[0], -v[1], -v[2], -v[3]); return Vector4<T>(-v[0], -v[1], -v[2], -v[3]);
} }
template<class T> Vector4<T> Vector4<T>::operator+() const template<class T> Vector4<T> Vector4<T>::operator+() const
{ {
return *this; return *this;
} }
 End of changes. 3 change blocks. 
1 lines changed or deleted 11 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/