Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 2.03 KB

README.md

File metadata and controls

45 lines (33 loc) · 2.03 KB

JoltC

C wrapper for Jolt Physics 5.0.0.

Currently a work in progress. Bindings contain functions that we've needed as part of our game or the Rust bindings we're working on in jolt-rust.

Goals

  1. Sound C wrapper around current version of Jolt Physics
  2. Headers suitable for usage in automatic binding generation tools (i.e. Rust bindgen, LuaJIT FFI)

Building

Use CMake:

cmake -B build
cmake --build build

Hello, world!

A port of Jolt's "HelloWorld" example is provided in HelloWorld/main.cpp.

Other C Wrappers

Other C wrappers for Jolt Physics include:

The goal of this project is to be the first C wrapper around Jolt Physics that is not part of a larger binding project and to eliminate sources of undefined behavior. It's intended to be useful for any other language-specific bindings and to reduce the need to duplicate work.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.