dimforge / rapier

2D and 3D physics engines focused on performance.
https://rapier.rs
Apache License 2.0
3.77k stars 235 forks source link

Aabb type is not properly re-exported from Parry #574

Closed kvark closed 5 months ago

kvark commented 6 months ago

Looks like we are re-exporting the type - https://docs.rs/rapier3d/latest/rapier3d/geometry/type.Aabb.html But we aren't doing the same for traits implemented by the type, most importantly - https://docs.rs/parry3d/0.13.1/parry3d/bounding_volume/struct.Aabb.html#impl-BoundingVolume-for-Aabb

This limitation makes it impossible to use the Aabb type without also depending on Parry3d explicitly.

sebcrozet commented 5 months ago

Good point, I will add the re-exports. Note that rapier re-exports parry as rapier3d::parry so an explicit dependency to parry3d should already not be necessary.