fn all_coincident_bcube<T>(&self, c: Vec3, p: BBox, octree: &Octree<T>)
		-> bool where T: Collider
	{
		assert!(self.is_leaf());
		assert!(self.is_full());

		Self::which_child_bbox(c, p).is_none()
			&& Self::which_child_bbox(c, octree[self.child[1]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[2]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[3]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[4]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[5]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[6]].bbox()).is_none()
	}
/// Check if all bounding boxes are coincident with the given center
Check if all bounding boxes are coincident with the given center
Check if all bounding boxes are coincident with the given center
fn all_coincident_bcube<T>(&self, c: Vec3, p: BBox, octree: &Octree<T>)
		-> bool where T: Collider
	{
		assert!(self.is_leaf());
		assert!(self.is_full());
		Self::which_child_bbox(c, p).is_none()
			&& Self::which_child_bbox(c, octree[self.child[1]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[2]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[3]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[4]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[5]].bbox()).is_none()
			&& Self::which_child_bbox(c, octree[self.child[6]].bbox()).is_none()
	}
fn all_coincident_bcube < T > ( & self , c : Vec3 , p : BBox , octree : & Octree < T > ) -> bool where T : Collider { assert ! ( self is_leaf ( ) ) ; assert ! ( self is_full ( ) ) ; Self :: which_child_bbox ( c , p ) . is_none ( ) && Self :: which_child_bbox ( c , octree [ self . child [ 1 ] ] . bbox ( ) ) . is_none ( ) && Self :: which_child_bbox ( c , octree [ self . child [ 2 ] ] . bbox ( ) ) . is_none ( ) && Self :: which_child_bbox ( c , octree [ self . child [ 3 ] ] . bbox ( ) ) . is_none ( ) && Self :: which_child_bbox ( c , octree [ self . child [ 4 ] ] . bbox ( ) ) . is_none ( ) && Self :: which_child_bbox ( c , octree [ self . child [ 5 ] ] . bbox ( ) ) . is_none ( ) && Self :: which_child_bbox ( c , octree [ self . child [ 6 ] ] . bbox ( ) ) . is_none ( ) }
Check if all bounding boxes are coincident with the given center
Check if all bounding boxes are coincident with the given center
&self
c
Vec3
p
BBox
octree
&Octree<T>