Expand description
Pure, platform-independent helper functions shared across Zenith.
Everything here is deterministic and dependency-free: no time, no randomness, no platform-specific behavior. The functions are reusable by any backend (scene compilation, render, future backends) so that the same inputs always yield the same bytes on every machine.
Re-exports§
pub use pattern::PatternLayout;pub use pattern::pattern_positions;
Modules§
- pattern
- Deterministic pattern instance-position computation.
Functions§
- hash_
unit - Deterministic pseudo-random value in
[0.0, 1.0)from three integer inputs.