diff options
author | Marius Kintel <marius@kintel.net> | 2010-09-07 00:02:22 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2010-10-31 00:42:39 (GMT) |
commit | fdcbb4cf9744151f901d6dba9f04a29c2ea75c92 (patch) | |
tree | 24330f1bedf104a15a1b5e11786f742af12ba495 /src/Tree.h | |
parent | 3f66c23731f0711dd1158f2cded7f0bf313617d4 (diff) |
Improved CSGTermRenderer to a testable point
Diffstat (limited to 'src/Tree.h')
-rw-r--r-- | src/Tree.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -8,9 +8,7 @@ using std::string; class Tree { public: - Tree() { - this->root_node = NULL; - } + Tree(const AbstractNode *root = NULL) : root_node(root) {} ~Tree() {} void setRoot(const AbstractNode *root) { this->root_node = root; } |