diff --git a/src/math.rs b/src/common/math.rs similarity index 100% rename from src/math.rs rename to src/common/math.rs diff --git a/src/num_util.rs b/src/common/num_util.rs similarity index 100% rename from src/num_util.rs rename to src/common/num_util.rs diff --git a/src/lmath.rc b/src/lmath.rc index 1e84abc..04f0775 100644 --- a/src/lmath.rc +++ b/src/lmath.rc @@ -10,12 +10,16 @@ extern mod std; pub mod matrix; -pub mod math; -pub mod num_util; pub mod projection; pub mod quaternion; pub mod vector; +use common::*; +pub mod common { + pub mod math; + pub mod num_util; +} + #[test] pub mod test { pub mod test_matrix;