goat3d
diff src/xform_node.h @ 30:0fe02696fb1e
yeeay, the max plugin works :)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 29 Sep 2013 23:05:44 +0300 |
parents | cd71f0b92f44 |
children | 498ca7ac7047 |
line diff
1.1 --- a/src/xform_node.h Sun Sep 29 21:53:03 2013 +0300 1.2 +++ b/src/xform_node.h Sun Sep 29 23:05:44 2013 +0300 1.3 @@ -21,6 +21,7 @@ 1.4 private: 1.5 struct anm_node *anm; 1.6 std::vector<XFormNode*> children; 1.7 + XFormNode *parent; 1.8 1.9 Interp interp; 1.10 Extrap extrap; 1.11 @@ -51,6 +52,7 @@ 1.12 virtual XFormNode *get_child(int idx); 1.13 virtual const XFormNode *get_child(int idx) const; 1.14 1.15 + virtual XFormNode *get_parent() const; 1.16 1.17 virtual void set_position(const Vector3 &pos, long tmsec = 0); 1.18 virtual Vector3 get_node_position(long tmsec = 0) const;