Skip to main content

Module physics

Module physics 

Source
Expand description

Physics of artefacts — bbox admission, kinematic joints, material/mass/momentum (Phase 2). Physics of artefacts (Phase 2, RENDERER_IMPLEMENTATION_PLAN.md).

Deterministic, zero-alloc operators over rendered artefacts, built on the PGA motor oracle (render::pga) so physics and the GPU projector share one geometry:

  • [aabb] — axis-aligned extent + rigid/scale transform of an artefact’s box.
  • [admission] — deterministic admission of a proposed transform; refuses contraction below a material floor or movement outside world bounds (no probabilistic guess).
  • [joint] — kinematic joints as PGA motors animated over time t (composable into chains).
  • [material] — mass / material / momentum (the P in the Manifold-Coordinate).

Rail-check: deterministic prevention; zero-heap operators (fixed arrays, no Vec in the path).

Re-exports§

pub use aabb::Aabb;
pub use admission::Admission;
pub use admission::Refusal;
pub use joint::chain_motor_at;
pub use joint::Joint;
pub use joint::JointKind;
pub use material::Body;
pub use material::Material;

Modules§

aabb
Axis-aligned bounding box for an artefact, and the rigid+scale transform of its extent.
admission
Deterministic admission of a proposed transform on an artefact (Phase 2).
joint
Kinematic joints as PGA motors animated over time t (Phase 2).
material
Material, mass, and momentum for an artefact — the P (physical momentum) the STELLAR §C Manifold-Coordinate carries, applied here to a rendered body. Zero-alloc, deterministic.