dimforge / parry

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

ShapeType precludes custom shapes #3

Closed Ralith closed 3 years ago

Ralith commented 3 years ago

ShapeType's options are all rather specific, preventing an implementer of Shape from introducing significantly diverse custom shapes. A ShapeType::Custom might be missing, or perhaps Shape::shape_type should return Option.