goat3d
annotate src/node.h @ 58:d317eb4f83da
- made everything compile properly on windows again
- removed libanim/libvmath, we'll use them as external dependencies
- added new maxgoat_stub 3dsmax plugin project. Gets loaded as a max plugin and
loads the actual maxgoat (and later maxgoat_anim) exporters on demand, to
allow reloading the actual exporters without having to restart 3dsmax (which
takes AGES).
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 25 Mar 2014 03:19:55 +0200 |
parents | cd71f0b92f44 |
children | dad392c710df |
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@47 | 7 namespace g3dimpl { |
nuclear@47 | 8 |
nuclear@7 | 9 class Node : public XFormNode { |
nuclear@0 | 10 private: |
nuclear@7 | 11 Object *obj; |
nuclear@0 | 12 |
nuclear@0 | 13 public: |
nuclear@0 | 14 Node(); |
nuclear@0 | 15 |
nuclear@7 | 16 void set_object(Object *obj); |
nuclear@7 | 17 Object *get_object(); |
nuclear@7 | 18 const Object *get_object() const; |
nuclear@0 | 19 }; |
nuclear@0 | 20 |
nuclear@8 | 21 void delete_node_tree(Node *n); |
nuclear@8 | 22 |
nuclear@47 | 23 } // namespace g3dimpl |
nuclear@47 | 24 |
nuclear@0 | 25 #endif // NODE_H_ |