Example #1
0
 public bool Equals(Dir9 other)
 {
     // if Self is a class:
     // if (other is null) return false;
     return(mVec.Equals(other.mVec));
 }
Example #2
0
 public bool Equals(Rect2Di other)
 {
     return(mPos.Equals(other.mPos) && mSize.Equals(other.mSize));
 }