--- a/include/container.h Thu Apr 24 10:49:11 2008 +0200
+++ b/include/container.h Thu Apr 24 13:55:11 2008 +0200
@@ -48,6 +48,9 @@
//void addShapeNoExtend(Shape* aShape) { shapes.push_back(aShape); };
virtual Shape *nearest_intersection(const Shape *origin_shape, const Ray &ray,
Float &nearest_distance);
+ virtual void packet_intersection(const Shape **origin_shapes, const Ray *rays,
+ Float *nearest_distances, Shape **nearest_shapes);
+
virtual void optimize() {};
ShapeList & getShapes() { return shapes; };