Added != method to Vec2,Vec3,Vec4 and did further work on the
AttributeUpdateFunctors.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user