X-Git-Url: http://git.rohieb.name/MicroTrace.git/blobdiff_plain/3396a44710415bde9509afeb02f3ec10a22c6661..a8137256e983a49f97ff1fbecd26a1a0372f7b0b:/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;