fn check_corrupt_node(&self, i: usize, bcube: BCube, t: u32) {
/*		let n = &self.nodes[i];

		if n.is_leaf() {
			for hnd in n.leaf_children().iter() {
				if *hnd < 1 { continue; }

				let p = self[*hnd].bbox();

				if !p.collide_bcube(bcube) {
					self.print();
					panic!("Corrupt Octree at HND: {} P: {:?} BBOX: {:?}", *hnd, p, bcube);
				}
			}
			let j = n.link();
			if j > 0 {
				self.check_corrupt_node(j - 1, bcube, t);
			}
		} else {
			for ch in 0 .. 8 {
				let bb = Node::child_bcube(ch, bcube);
				let k = n.child[ch] as usize;
				if k > 0 {
					self.check_corrupt_node(k - 1, bb, t + 1);
				}
			}
		}*/
	}
/// Print a node and its descendants
Print a node and its descendants
Print a node and its descendants
fn check_corrupt_node(&self, i: usize, bcube: BCube, t: u32) {
/*		let n = &self.nodes[i];
		if n.is_leaf() {
			for hnd in n.leaf_children().iter() {
				if *hnd < 1 { continue; }
				let p = self[*hnd].bbox();
				if !p.collide_bcube(bcube) {
					self.print();
					panic!("Corrupt Octree at HND: {} P: {:?} BBOX: {:?}", *hnd, p, bcube);
				}
			}
			let j = n.link();
			if j > 0 {
				self.check_corrupt_node(j - 1, bcube, t);
			}
		} else {
			for ch in 0 .. 8 {
				let bb = Node::child_bcube(ch, bcube);
				let k = n.child[ch] as usize;
				if k > 0 {
					self.check_corrupt_node(k - 1, bb, t + 1);
				}
			}
		}*/
	}
fn check_corrupt_node ( & self , i : usize , bcube : BCube , t : u32 ) { /*		let n = &self.nodes[i];

		if n.is_leaf() {
			for hnd in n.leaf_children().iter() {
				if *hnd < 1 { continue; }

				let p = self[*hnd].bbox();

				if !p.collide_bcube(bcube) {
					self.print();
					panic!("Corrupt Octree at HND: {} P: {:?} BBOX: {:?}", *hnd, p, bcube);
				}
			}
			let j = n.link();
			if j > 0 {
				self.check_corrupt_node(j - 1, bcube, t);
			}
		} else {
			for ch in 0 .. 8 {
				let bb = Node::child_bcube(ch, bcube);
				let k = n.child[ch] as usize;
				if k > 0 {
					self.check_corrupt_node(k - 1, bb, t + 1);
				}
			}
		}*/ }
Print a node and its descendants
Print a node and its descendants
&self
i
usize
bcube
BCube
t
u32