]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/layout.h
Penalize running against the preferred direction when planning routes
[r2c2.git] / source / 3d / layout.h
index dd3c0f5ea9b150bd54f5340743961dd4fe3187ad..c5169bd6f07ae4c201ff45e25c68a4b9121b0de3 100644 (file)
@@ -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 &);