For this to work both this and the clip box must be in the same cartesian system.
| 172 | // For this to work both this and the clip box must be in the same cartesian |
| 173 | // system. |
| 174 | bool Obb::intersect(Obb c) |
| 175 | { |
| 176 | return halfIntersect(*this, c) || halfIntersect(c, *this); |
| 177 | } |
| 178 | |
| 179 | // This is really only a half intersection test. |
| 180 | bool Obb::halfIntersect(const Obb& a, Obb b) |
no outgoing calls