include/container.h
branchpyrit
changeset 82 930a2d3ecaed
parent 78 9569e9f35374
child 84 6f7fe14782c2
--- 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; };