rapier_geometry2d 0.1.0-alpha.1

2D collision geometry of rapier-cairo (port of the Parry subset Rapier needs): shapes, AABB, mass properties, contact manifolds, broad phase.

Readme

rapier_geometry2d

2D collision geometry of rapier-cairo, a port of the Parry subset Rapier needs: shapes (ball, cuboid, capsule, segment, half-space, convex polygon), AABBs, mass properties, contact manifolds, intersection tests, ray casts, point projections and the broad phase.

Part of rapier-cairo, a port of the Rapier physics engine to Cairo for provable physics. Q32.32 fixed-point scalars from fixed-cairo and vectors from glam-cairo.

Most users depend on rapier2d.

Stability

0.1.0-alpha.1 is an alpha: no API or numeric stability. Every alpha is validated against golden vectors recorded from rapier2d-f64 0.35.3 / parry2d-f64 0.30.2 within documented tolerance bands, and the deliberate divergences from upstream are listed in docs/adr/0001-upstream-divergences.md. From 0.1.0 on, the siblings' versioning policy applies: a numeric change is a MINOR bump, so pinning a version pins the simulation's results.

License

MIT

Metadata

Version 0.1.0-alpha.1

Uploaded 4 hours ago

License MIT

Size 135.5 KB

Installation

Run the following command in your project dir

scarb add rapier_geometry2d@0.1.0-alpha.1

Or add the following line to your Scarb.toml

rapier_geometry2d = "0.1.0-alpha.1"

Monthly downloads

Links

Keywords

  • physics
  • collision
  • geometry
  • 2d
  • cairo

Owners