diff cmd/tin2octree/builder.go @ 674:120a82bd9953 octree

octree: Added loading frame for contour generation.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 19 Sep 2018 13:26:30 +0200
parents 010cc30fdf48
children 1cb565d244cf
line wrap: on
line diff
--- a/cmd/tin2octree/builder.go	Wed Sep 19 11:03:00 2018 +0200
+++ b/cmd/tin2octree/builder.go	Wed Sep 19 13:26:30 2018 +0200
@@ -35,6 +35,7 @@
 
 	tb.buildRecursive(triangles, tb.t.min, tb.t.max, 0)
 	tb.index[0] = int32(len(tb.index))
+	log.Printf("num nodes: %d\n", tb.index[0])
 
 	log.Printf("nodes: %d leaves: %d index %d\n",
 		tb.nodes, tb.leaves, tb.index[0])