Make the WQuadTree more generic and use it as the trimesh acceleration structure.
This commit is contained in:
@@ -38,7 +38,7 @@ impl ColliderSet {
|
||||
}
|
||||
|
||||
/// Iterate through all the colliders on this set.
|
||||
pub fn iter(&self) -> impl Iterator<Item = (ColliderHandle, &Collider)> {
|
||||
pub fn iter(&self) -> impl ExactSizeIterator<Item = (ColliderHandle, &Collider)> {
|
||||
self.colliders.iter()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user