projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exhibit ui improvements, and exhibit repositioning fix
[laserbrain_demo]
/
src
/
snode.h
diff --git
a/src/snode.h
b/src/snode.h
index
94ccb6a
..
00e1798
100644
(file)
--- a/
src/snode.h
+++ b/
src/snode.h
@@
-30,6
+30,7
@@
private:
public:
Scene *scene; // scene to which this node belongs
Mat4 dbg_xform;
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);
SceneNode();
explicit SceneNode(Object *obj);
@@
-46,6
+47,8
@@
public:
SceneNode *get_parent() const;
SceneNode *get_parent() const;
+ SceneNode *find_object_node() const;
+
void add_object(Object *obj);
bool remove_object(Object *obj);
void add_object(Object *obj);
bool remove_object(Object *obj);