branch | pyrit |
changeset 29 | 574c34441a1c |
parent 28 | ffe83ca074f3 |
child 30 | 33f95441790e |
28:ffe83ca074f3 | 29:574c34441a1c |
---|---|
181 { |
181 { |
182 setLeaf(); |
182 setLeaf(); |
183 return; |
183 return; |
184 } |
184 } |
185 |
185 |
186 #if 1 |
186 #if 0 |
187 // export kd-tree as .obj for visualization |
187 // export kd-tree as .obj for visualization |
188 // this would be hard to reconstruct later |
188 // this would be hard to reconstruct later |
189 static ofstream F("kdtree.obj"); |
189 static ofstream F("kdtree.obj"); |
190 Vector3 v; |
190 Vector3 v; |
191 static int f=0; |
191 static int f=0; |