Vendor Box3D and build it into .tools/ #68
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
crowmaki/cinnabar#68
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Part of #67.
What to build
Box3D is in the tree and builds. The pinned upstream C sources are vendored beside a
box3dbindings package whose bindings are copied from Odin's vendor collection and re-pointed at.tools/, spelling the pinned version the way the cimgui bindings do. Ajust fetch-box3drecipe compiles the sources as C17 with clang, archives them with llvm-lib into.tools/box3d/<version>/lib/, and verifies a known Box3D symbol is defined.BOX3D_DISABLE_SIMDandBOX3D_DOUBLE_PRECISIONare never set. The justfile'spackageslist and the AGENTS.md recipe table gain the new entries.A test proves the library links and runs: create a world with default gravity, add a dynamic body with a box hull, step once, observe it moved down, destroy everything.
Acceptance criteria
just fetch-box3dproduces the static library into.tools/and refuses output lacking a known Box3D symbol; a second run reports it already present.box3dpackage type-checks underjust checkand imports the library from.tools/.Blocked by