2 releases
Uses old Rust 2015
0.1.1 | Jan 29, 2017 |
---|---|
0.1.0 | Jan 21, 2017 |
#47 in #physics-engine
2MB
19K
SLoC
Contains (static library, 565KB) glew32.lib, (static library, 95KB) chipmunk/msvc/glfw/lib-msvc100/GLFW.lib, (static library, 16KB) GLFWDLL.lib
ChipmunkRs
Rust bindings to the Chipmunk2D physics engine.
lib.rs
:
Bindings to the Chipmunk2D physics library
Tested on Chipmunk2D 7.0.1
These bindings provide a memory safety, but otherwise attempts to stay close to the original API. See the official Chipmunk2D 7.0.1 manual for details on how to use the API. These bindings are not zero-cost. Some overhead is due to memory safety related code. This cost may be reduced in future releases. Alternativelly, the ffi module provides raw API bindings (use at your own risk).
What's not done yet?
- Shapes other than the Circle and Box (Poly) Shapes.
- Iterators/callbacks.
- Functions to get associated bodies/shapes/spaces from eachother. A clean and safe way of doing this in rust is needed.
- This! Have a thurough run through the Chipmunk2D 7.0.1 manual and note missing functionality.