goat3d
diff src/node.cc @ 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 ca549434dc95 |
line diff
1.1 --- a/src/node.cc Sun Dec 08 03:00:25 2013 +0200 1.2 +++ b/src/node.cc Sat Dec 28 06:47:39 2013 +0200 1.3 @@ -2,6 +2,8 @@ 1.4 #include <string.h> 1.5 #include "node.h" 1.6 1.7 +using namespace g3dimpl; 1.8 + 1.9 Node::Node() 1.10 { 1.11 obj = 0; 1.12 @@ -22,7 +24,7 @@ 1.13 return obj; 1.14 } 1.15 1.16 -void delete_node_tree(Node *n) 1.17 +void g3dimpl::delete_node_tree(Node *n) 1.18 { 1.19 for(int i=0; i<n->get_children_count(); i++) { 1.20 delete_node_tree((Node*)n->get_child(i));