diff -r fcf1487b398b -r f6a72eb99631 include/raytracer.h --- a/include/raytracer.h Tue Apr 29 13:56:29 2008 +0200 +++ b/include/raytracer.h Tue Apr 29 23:31:08 2008 +0200 @@ -93,9 +93,11 @@ void addShape(Shape *shape) { top->addShape(shape); }; void addLight(Light *light) { lights.push_back(light); }; void setSampler(Sampler *sampl) { sampler = sampl; }; + Sampler *&getSampler() { return sampler; }; void setCamera(Camera *cam) { camera = cam; }; + Camera *&getCamera() { return camera; }; void setTop(Container *atop) { top = atop; }; - Container *getTop() { return top; }; + Container *&getTop() { return top; }; void setBgColour(const Colour &bg) { bg_colour = bg; }; void setMaxDepth(int newdepth) { max_depth = newdepth; };