src/raytracermodule.cc
branchpyrit
changeset 84 6f7fe14782c2
parent 78 9569e9f35374
child 89 fcf1487b398b
--- a/src/raytracermodule.cc	Thu Apr 24 18:12:32 2008 +0200
+++ b/src/raytracermodule.cc	Sun Apr 27 09:44:49 2008 +0200
@@ -28,7 +28,7 @@
 
 #include <vector>
 #include "raytracer.h"
-#include "octree.h"
+#include "kdtree.h"
 
 //=========================== Light Source Object ===========================
 
@@ -760,7 +760,7 @@
 	v->raytracer = new Raytracer();
 	v->children = new vector<PyObject*>();
 	v->raytracer->setCamera(new Camera());
-	v->raytracer->setTop(new Octree());
+	v->raytracer->setTop(new KdTree());
 
 	return (PyObject*)v;
 }