dimforge / nphysics

2 and 3-dimensional rigid body physics engine for Rust.
https://nphysics.org
Apache License 2.0
1.63k stars 121 forks source link

General code cleanup/rustification #270

Closed matthewsanetra closed 4 years ago

matthewsanetra commented 4 years ago

I didn't add any new features, and the build is failing with the same errors as before this PR. I did some minor code rust-ifications, a major one being using the inbuilt deref methods instead of as_ref and mapping.

sebcrozet commented 4 years ago

Thanks!