goat3d

diff src/aabox.cc @ 82:70b7c41a4f17

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 11 May 2014 22:04:54 +0300
parents 76dea247f75c
children
line diff
     1.1 --- a/src/aabox.cc	Thu May 08 23:05:29 2014 +0300
     1.2 +++ b/src/aabox.cc	Sun May 11 22:04:54 2014 +0300
     1.3 @@ -14,6 +14,16 @@
     1.4  {
     1.5  }
     1.6  
     1.7 +bool AABox::operator ==(const AABox &rhs) const
     1.8 +{
     1.9 +	return bmin == rhs.bmin && bmax == rhs.bmax;
    1.10 +}
    1.11 +
    1.12 +bool AABox::operator !=(const AABox &rhs) const
    1.13 +{
    1.14 +	return !(*this == rhs);
    1.15 +}
    1.16 +
    1.17  AABox g3dimpl::aabox_union(const AABox &a, const AABox &b)
    1.18  {
    1.19  	Vector3 bmin, bmax;