#pragma once #include "Vector.hpp" class BoundingBox { public: Vector minPoint; Vector maxPoint; //! returns the center of the BoundingBox Vector getCentre (void) { Vector centre; centre = (minPoint + maxPoint) * 0.5; return centre; } };