InVoxel() for all Primitives, including fix for Triangle::CalcBounds()
[MicroTrace.git] / Triangle.hxx
index 6abbe53..8e56231 100644 (file)
@@ -11,6 +11,8 @@ public:
   
   virtual bool Intersect(Ray& ray);
   virtual Vec3f GetNormal(Ray& ray);
+  virtual Box CalcBounds();
+  virtual bool InVoxel(const Box& box);
 private:
   Vec3f m_a, m_b, m_c;
   Vec3f m_n;
This page took 0.01969 seconds and 4 git commands to generate.