dimforge / parry

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

Missing orientation in docs for SharedShape::convex_polyline #56

Open xlambein opened 2 years ago

xlambein commented 2 years ago

The documentation for SharedShape::convex_polyline should mention that the polygon needs to be given in counter-clockwise orientation: https://github.com/dimforge/parry/blob/d4b01c50af4f951163407bb94a8e884816ea3c4a/src/shape/shared_shape.rs#L256-L262

First pointed out in #55.