minor change
This commit is contained in:
@@ -106,7 +106,7 @@ public:
|
||||
|
||||
}
|
||||
|
||||
BBox2 intersection(const BBox2& o) {
|
||||
BBox2 intersection(const BBox2& o) const {
|
||||
// TODO is this correct?
|
||||
const float x1 = std::max(p1.x, o.p1.x);
|
||||
const float x2 = std::min(p2.x, o.p2.x);
|
||||
|
||||
Reference in New Issue
Block a user