dimforge / parry

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

`Aabb::vertices()` returns the vertices in incorrect order #175

Open s-nie opened 5 months ago

s-nie commented 5 months ago

I'd expect the 2D implementation of Aabb::vertices to return the vertices of a rectangle in counter-clockwise order. It currently returns an hourglass shape though. So the two first vertices should be flipped.