X-Git-Url: https://git.rohieb.name/MicroTrace.git/blobdiff_plain/0e3446ceb6fd6db0cb292671f37b46daaa2aed5b..881404b4607d24af0d8efea7b041910d796b9474:/Sphere.hxx diff --git a/Sphere.hxx b/Sphere.hxx index 28604e7..cc07bfe 100644 --- a/Sphere.hxx +++ b/Sphere.hxx @@ -12,6 +12,8 @@ public: virtual bool Intersect(Ray& ray); virtual Vec3f GetNormal(Ray& ray); + virtual Box CalcBounds(); + virtual bool InVoxel(const Box& box); private: Vec3f m_center; float m_radius;