X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Flayout.h;h=c5169bd6f07ae4c201ff45e25c68a4b9121b0de3;hb=f74a48e60ff2e818ada3bbbfcb200e5cd2b633d6;hp=dd3c0f5ea9b150bd54f5340743961dd4fe3187ad;hpb=05b95b6b6b095821f1e79dabed802b853c296c9d;p=r2c2.git diff --git a/source/3d/layout.h b/source/3d/layout.h index dd3c0f5..c5169bd 100644 --- a/source/3d/layout.h +++ b/source/3d/layout.h @@ -38,7 +38,6 @@ public: Layout &get_layout() const { return layout; } Catalogue3D &get_catalogue() { return catalogue; } const Catalogue3D &get_catalogue() const { return catalogue; } - void get_bounds(Vector &, Vector &) const; void add(Object3D &); Object3D &get_3d(Object &) const; @@ -55,8 +54,11 @@ public: Msp::GL::Scene &get_scene() { return scene; } Msp::GL::Scene &get_endpoint_scene() { return ep_scene; } Msp::GL::Scene &get_path_scene() { return path_scene; } + const Msp::GL::Light &get_sun() const { return sun; } const Msp::GL::Lighting &get_lighting() const { return lighting; } + void tick(); + private: void object_added(Object &); void object_removed(Object &);