Initial commit: Fabrilis docs, rules and deterministic core
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.
This commit is contained in:
commit
878d144b77
221 changed files with 5316 additions and 0 deletions
15
crates/core/src/vec/mod.rs
Normal file
15
crates/core/src/vec/mod.rs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
//! 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue