summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-12-13 17:30:00 +0100
committerMatthias Schiffer <matthias@gamezock.de>2009-12-13 17:30:00 +0100
commit90b27bca4d75df07adbe9939a40eafb5c785f903 (patch)
tree10f9f521e536a53595f7b24ba7e8cb7063aa0c82
parent7f41448de9242dc21582231e29cc0e8b25d0f159 (diff)
downloadc3d-90b27bca4d75df07adbe9939a40eafb5c785f903.tar
c3d-90b27bca4d75df07adbe9939a40eafb5c785f903.zip
Kleine Korrektur
-rw-r--r--BSPTree.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/BSPTree.cpp b/BSPTree.cpp
index 6da2531..ff43274 100644
--- a/BSPTree.cpp
+++ b/BSPTree.cpp
@@ -112,6 +112,8 @@ BSPTree& BSPTree::operator=(const BSPTree &tree) {
if(tree.backTree)
backTree = new BSPTree(*tree.backTree);
+
+ return *this;
}
vmml::vec3f BSPTree::findCenter(const std::list<Triangle> &triangles) {