goat3d
view src/node.h @ 26:1c601bf07b86
added the node API glue
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 28 Sep 2013 20:36:55 +0300 |
parents | 97139303348c |
children | 498ca7ac7047 |
line source
1 #ifndef NODE_H_
2 #define NODE_H_
4 #include "xform_node.h"
5 #include "object.h"
7 class Node : public XFormNode {
8 private:
9 Object *obj;
11 public:
12 Node();
14 void set_object(Object *obj);
15 Object *get_object();
16 const Object *get_object() const;
17 };
19 void delete_node_tree(Node *n);
21 #endif // NODE_H_