feat: reduce the amount of duplicate work the broad-phase is doing for user changes and CCD + release v0.28.0 (#872)
* feat: reduce the amount of duplicate work the broad-phase is doing for user changes and CCD * Release v0.28.0 * chore: fix warnings * chore: clippy fixes * chore: more clippy fixes
This commit is contained in:
@@ -53,6 +53,10 @@ impl ColliderSet {
|
||||
std::mem::take(&mut self.modified_colliders)
|
||||
}
|
||||
|
||||
pub(crate) fn set_modified(&mut self, modified: ModifiedColliders) {
|
||||
self.modified_colliders = modified;
|
||||
}
|
||||
|
||||
pub(crate) fn take_removed(&mut self) -> Vec<ColliderHandle> {
|
||||
std::mem::take(&mut self.removed_colliders)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user