branch | pyrit |
changeset 78 | 9569e9f35374 |
parent 46 | 6493fb65f0b1 |
child 82 | 930a2d3ecaed |
--- 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 <vector> -#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