* handling Def 2 compression (may be a bit buggy)

* small improvement in int3 class
This commit is contained in:
mateuszb
2007-07-30 12:49:38 +00:00
parent b38a8c9557
commit b2d1b4f3e4
4 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -41,11 +41,11 @@ class int3
y+=i;
z+=i;
}
inline bool operator==(const int3 & i)
inline bool operator==(const int3 & i) const
{return (x==i.x) && (y==i.y) && (z==i.z);}
inline bool operator!=(const int3 & i)
inline bool operator!=(const int3 & i) const
{return !(*this==i);}
inline bool operator<(const int3 & i)
inline bool operator<(const int3 & i) const
{
if (z<i.z)
return true;