include/octree.h
branchpyrit
changeset 36 b490093b0ac3
parent 35 fb170fccb19f
child 43 0b8b968b42d1
--- a/include/octree.h	Wed Dec 12 19:59:19 2007 +0100
+++ b/include/octree.h	Thu Dec 13 00:08:11 2007 +0100
@@ -38,7 +38,7 @@
 	bool built;
 	int max_depth;
 public:
-	Octree() : Container(), root(NULL), built(false), max_depth(4) {};
+	Octree() : Container(), root(NULL), built(false), max_depth(10) {};
 	~Octree() { if (root) delete root; };
 	void addShape(Shape* aShape) { Container::addShape(aShape); built = false; };
 	Shape *nearest_intersection(const Shape *origin_shape, const Ray &ray,