in the octree unit tests, only push non-leaf nodes into the queue
@@ -530,12 +530,13 @@ mod tests {
for p in Extent3i::from(node.octant()).iter_points() {
octant_voxels.insert(p);
}
- }
+ } else {
for octant in 0..8 {
queue.push(octree.get_child(&offset_table, &node, octant));
}
}
}
+ }
assert_eq!(non_empty_voxels, octant_voxels);
}
