box3d 0.1.1
box3d: ^0.1.1 copied to clipboard
Dart FFI bindings for the box3d 3D rigid body physics engine.
0.1.1 #
- Link libm explicitly on Android and Linux, fixing a
dlopenfailure on unresolvedsinfwhen the native library is loaded on Android. - Use box3d's scalar path on 32-bit arm, whose NEON path needs intrinsics that only exist on AArch64.
- Skip the native build when a hook invocation asks only for data assets.
- Report the real package version from
box3dBindingsVersion, which had been left at 0.0.1.
0.1.0 #
- First functional release. Vendors box3d (pinned to its v0.1.0) and builds it, plus a thin C shim, from source through a native-assets build hook, so no separate toolchain is needed. Exposes an idiomatic Dart API: worlds, rigid bodies, the sphere/box/capsule/cylinder/convex-hull/triangle-mesh/ height-field shapes, weld/revolute/prismatic/spherical/distance joints, contact and sensor events, and raycast/overlap/shape-cast queries. A web (WebAssembly) backend is included: build the module with tool/build_wasm.sh and serve it during development with --dart-define=BOX3D_WASM_URL=
0.0.1 #
- Initial release. These bindings are in active development; this release reserves the package name and establishes the package structure. FFI bindings and native binaries are not yet included.