zenith_core/util/mod.rs
1//! Pure, platform-independent helper functions shared across Zenith.
2//!
3//! Everything here is deterministic and dependency-free: no time, no
4//! randomness, no platform-specific behavior. The functions are reusable by
5//! any backend (scene compilation, render, future backends) so that the same
6//! inputs always yield the same bytes on every machine.
7
8mod hash;
9pub mod pattern;
10
11pub use hash::hash_unit;
12pub use pattern::{PatternLayout, pattern_positions};