Expand description
Emit contract, shared by the 3D and 4D paths: every baked constant goes
through literal::wgsl_f32, so parsing the emitted literal recovers the
exact input bits and the emitter contributes no floor to CPU/GPU parity.
Re-exports§
pub use primitive::Primitive;pub use primitive4::Primitive4;pub use scene3::Scene;pub use scene3::SceneNode;pub use scene4::Scene4;pub use scene4::SceneNode4;pub use scene4::PRIM_KIND_HALFSPACE4D;pub use scene4::PRIM_KIND_HYPERSPHERE4D;pub use scene4::PRIM_KIND_OTHER;
Modules§
- primitive
- Boxes use chart coordinates; halfspaces require Space::is_chart_flat. Only geodesic spheres have the same distance contract across curved spaces.
- primitive4
- scene3
- scene4
Enums§
Constants§
- SENTINEL_
DISTANCE - Returned by shapes with no closed-form SDF in the emitted dimension.