Docs (architecture, decisions, coupling, determinism, UI, references), code rules enforced by tools/limits, deterministic core with units, time, math, sched, snapshot, vec and rng, plus smoke tests. ref/ stays out of git.
15 lines
340 B
Rust
15 lines
340 B
Rust
//! Deterministic 3D vector math on `f64`.
|
|
//!
|
|
//! Trigonometry goes through [`crate::math`] (pure Rust `libm`), so results do not
|
|
//! depend on the operating system. See docs/DETERMINISM.md.
|
|
|
|
mod rotation;
|
|
mod transform;
|
|
mod vec3;
|
|
|
|
pub use rotation::{Mat3, Quat};
|
|
pub use transform::Transform;
|
|
pub use vec3::Vec3;
|
|
|
|
#[cfg(test)]
|
|
mod tests;
|