Added != method to Vec2,Vec3,Vec4 and did further work on the

AttributeUpdateFunctors.
This commit is contained in:
Robert Osfield
2001-10-12 20:05:55 +00:00
parent cb17e99420
commit 9db63dfd5d
5 changed files with 34 additions and 9 deletions

View File

@@ -38,6 +38,8 @@ class Vec4
inline const bool operator == (const Vec4& v) const { return _v[0]==v._v[0] && _v[1]==v._v[1] && _v[2]==v._v[2] && _v[3]==v._v[3]; }
inline const bool operator != (const Vec4& v) const { return _v[0]!=v._v[0] || _v[1]!=v._v[1] || _v[2]!=v._v[2] || _v[3]!=v._v[3]; }
inline const bool operator < (const Vec4& v) const
{
if (_v[0]<v._v[0]) return true;