diff -r dbe8438d5dca -r 9569e9f35374 include/container.h --- a/include/container.h Tue Apr 22 13:33:12 2008 +0200 +++ b/include/container.h Wed Apr 23 10:38:33 2008 +0200 @@ -29,7 +29,7 @@ #include -#include "scene.h" +#include "shapes.h" using namespace std; @@ -49,6 +49,10 @@ virtual Shape *nearest_intersection(const Shape *origin_shape, const Ray &ray, Float &nearest_distance); virtual void optimize() {}; + + ShapeList & getShapes() { return shapes; }; + + virtual ostream & dump(ostream &st); }; #endif