dimforge / parry

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

Fixed polyline flat indices method #137

Closed kurtkuehnert closed 1 year ago

kurtkuehnert commented 1 year ago

Currently, the polyline flat_indices method seems to be copied over from the Triangle shape without proper adjustment. This PR should fix the invalid casting.

sebcrozet commented 1 year ago

Thanks!