From 9031924a146b8b5e5ffcd43b91476479c1436668 Mon Sep 17 00:00:00 2001 From: cignoni Date: Wed, 18 Oct 2006 15:11:26 +0000 Subject: [PATCH] Added some templatedoctree to compile under 2003 --- vcg/space/index/octree.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/vcg/space/index/octree.h b/vcg/space/index/octree.h index edbc3730..534a49e8 100644 --- a/vcg/space/index/octree.h +++ b/vcg/space/index/octree.h @@ -517,7 +517,8 @@ public: object_count = 0; for (int i=0; i::Voxel(leaves[i]); + //voxel = OctreeTemplate< Voxel, SCALAR_TYPE >::Voxel(leaves[i]); + voxel = TemplatedOctree::Voxel(leaves[i]); begin = voxel->begin; end = voxel->end; for ( ; beginlevel) + if (rendering_settings.minVisibleDepth>_level) { for (int s=0; s<8; s++) if ((son=Son(n, s))!=0) @@ -710,7 +712,7 @@ public: else { vcg::glBoxWire(boundingBox); - if (level