goat3d

annotate src/node.h @ 38:60f2037680ee

split the exporter into two files to make it more readable (and maybe make an importer too at some point?)
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 07 Oct 2013 20:02:57 +0300
parents 97139303348c
children 498ca7ac7047
rev   line source
nuclear@0 1 #ifndef NODE_H_
nuclear@0 2 #define NODE_H_
nuclear@0 3
nuclear@7 4 #include "xform_node.h"
nuclear@8 5 #include "object.h"
nuclear@0 6
nuclear@7 7 class Node : public XFormNode {
nuclear@0 8 private:
nuclear@7 9 Object *obj;
nuclear@0 10
nuclear@0 11 public:
nuclear@0 12 Node();
nuclear@0 13
nuclear@7 14 void set_object(Object *obj);
nuclear@7 15 Object *get_object();
nuclear@7 16 const Object *get_object() const;
nuclear@0 17 };
nuclear@0 18
nuclear@8 19 void delete_node_tree(Node *n);
nuclear@8 20
nuclear@0 21 #endif // NODE_H_