dimforge / ncollide

2 and 3-dimensional collision detection library in Rust.
https://ncollide.org
Apache License 2.0
921 stars 107 forks source link

Add ShapeHandle.as_arc #355

Closed ColonelThirtyTwo closed 3 years ago

ColonelThirtyTwo commented 3 years ago

Allows getting the underlying Arc<dyn Shape<F>> from a ShapeHandle, for cloning, etc.

Fixes #350

sebcrozet commented 3 years ago

Thanks!