exhibit ui improvements, and exhibit repositioning fix
[laserbrain_demo] / src / snode.h
index 94ccb6a..00e1798 100644 (file)
@@ -30,6 +30,7 @@ private:
 public:
        Scene *scene;   // scene to which this node belongs
        Mat4 dbg_xform;
+       bool visible;   // if true, objects of this node are supposed to be visible
 
        SceneNode();
        explicit SceneNode(Object *obj);
@@ -46,6 +47,8 @@ public:
 
        SceneNode *get_parent() const;
 
+       SceneNode *find_object_node() const;
+
        void add_object(Object *obj);
        bool remove_object(Object *obj);