dimforge / parry

2D and 3D collision-detection library for Rust.
https://parry.rs
Apache License 2.0
567 stars 100 forks source link

Add method to scale an AABB wrt its center #155

Closed sebcrozet closed 6 months ago

sebcrozet commented 1 year ago

The Aabb::scaled function scales the AABB points wrt. the origin. It might be worth adding Aabb::scaled_wrt_center to scale relative to the aabb’s center.

sebcrozet commented 6 months ago

Implemented in #182.