From 02e3c70d653376554ec6f80ad6979e4bf289d40c Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Fri, 2 Nov 2012 09:15:57 +1000 Subject: [PATCH] Move utility modules to src/common --- src/{ => common}/math.rs | 0 src/{ => common}/num_util.rs | 0 src/lmath.rc | 8 ++++++-- 3 files changed, 6 insertions(+), 2 deletions(-) rename src/{ => common}/math.rs (100%) rename src/{ => common}/num_util.rs (100%) 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;