{
public:
Box();
+ Box(Vec3f min, Vec3f max);
~Box();
Box(const Box& b);
Box& operator=(const Box& b);
-
+
//! Extend the bounding box to contain point a
void Extend(const Vec3f& a);
//! Clear the bounding box, i.e. set dimensions to infinity.
const Vec3f& max() const;
private:
Vec3f m_min, m_max;
+ bool OverlapsHelper(Box b) const;
};
#endif