humpty is a physics library written in Zig.
requires zig 0.16.0 (have not tested for other zig versions, however likely works fine. please open a PR to reduce down the minimum version).
to use this with the zig build system, import as so:
zig fetch --save git+https://github.com/eggyengine/humptyand then in build.zig:
const humpty = b.dependency("humpty", .{
.target = target,
.optimize = optimize,
});
exe.root_module.addImport("humpty", humpty.module("humpty"));and lastly in your library/executable:
const humpty = @import("humpty");