goat3d
view src/node.h @ 47:498ca7ac7047
- placed all the implementation stuff in the g3dimpl namespace
- added animation stuff to the public API
- started writing animation saving/loading
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 Dec 2013 06:47:39 +0200 |
parents | cd71f0b92f44 |
children | dad392c710df |
line source
1 #ifndef NODE_H_
2 #define NODE_H_
4 #include "xform_node.h"
5 #include "object.h"
7 namespace g3dimpl {
9 class Node : public XFormNode {
10 private:
11 Object *obj;
13 public:
14 Node();
16 void set_object(Object *obj);
17 Object *get_object();
18 const Object *get_object() const;
19 };
21 void delete_node_tree(Node *n);
23 } // namespace g3dimpl
25 #endif // NODE_H_