bevy_xpbd
bevy_xpbd copied to clipboard
Accept `IntoIterator` for `Collider::compound` instead of `Vec`
trafficstars
You convert it into iterator anyway: https://github.com/Jondolf/avian/blob/7d79ca1148e661d0fc57e8b5b8b381725ef0ad06/src/collision/collider/parry/mod.rs#L668-L683 It would be nice to be able to avoid extra allocations.