src/kdtree.cc
branchpyrit
changeset 13 fbd1d2f7d94e
parent 12 f4fcabf05785
child 14 fc18ac4833f2
--- a/src/kdtree.cc	Sat Nov 24 21:55:41 2007 +0100
+++ b/src/kdtree.cc	Sat Nov 24 23:55:54 2007 +0100
@@ -89,7 +89,7 @@
 
 void KdNode::subdivide(BBox bbox, int depth)
 {
-	if (depth >= 10 || shapes.size() <= 2)
+	if (depth >= 20 || shapes.size() <= 4)
 	{
 		leaf = true;
 		return;