Skip to content

paperdev-code/box2d-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig build support for Box2D 3.0.0

WIP. Currently only exposes a box2d.c struct for including and using box2d. I still got to try making something with it.

Usage

Running zig build compiles box2d to a static library. It is also available as a zig module. Check the sample/build.zig and main.zig for example usage.

Test

Box2D requires an additional dependency to run tests. This is lazily loaded and it's tests aren't exposed through zig build test unless -Dbox2d_tests is specified.

Roadmap

  • expose the C api.
  • run the box2d unit tests.
  • zig wrapper for c api.
  • make something with this.
  • try to get rid of libc?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages