2012-11-01 23:14:07 +00:00
|
|
|
#[link(name = "lmath",
|
2012-09-07 10:48:47 +00:00
|
|
|
vers = "0.1",
|
2012-11-02 03:59:51 +00:00
|
|
|
uuid = "A2DEEB53-EB35-4B44-B247-9044B57E3BA5",
|
2012-11-01 01:59:53 +00:00
|
|
|
author = "Brendan Zabarauskas",
|
2012-11-06 04:03:14 +00:00
|
|
|
url = "https://github.com/bjz/lmath-rs")];
|
2012-09-07 10:48:47 +00:00
|
|
|
|
2012-11-01 01:59:53 +00:00
|
|
|
#[comment = "A generic linear algebra library."];
|
2012-11-01 01:59:21 +00:00
|
|
|
#[license = "APL2"];
|
2012-09-07 10:48:47 +00:00
|
|
|
#[crate_type = "lib"];
|
|
|
|
|
2012-09-24 02:54:24 +00:00
|
|
|
extern mod std;
|
2012-09-07 10:48:47 +00:00
|
|
|
|
2012-11-15 02:23:39 +00:00
|
|
|
pub mod dim;
|
|
|
|
pub mod mat;
|
|
|
|
pub mod quat;
|
|
|
|
pub mod vec;
|
2012-10-28 11:43:23 +00:00
|
|
|
|
2012-11-05 10:31:52 +00:00
|
|
|
#[test]
|
|
|
|
mod test {
|
2012-11-15 02:23:39 +00:00
|
|
|
mod test_mat;
|
|
|
|
mod test_quat;
|
|
|
|
mod test_vec;
|
2012-11-05 10:31:52 +00:00
|
|
|
}
|
|
|
|
|
2012-11-01 23:15:57 +00:00
|
|
|
use common::*;
|
|
|
|
pub mod common {
|
|
|
|
pub mod math;
|
2012-11-15 00:31:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pub mod num {
|
|
|
|
pub mod cast;
|
|
|
|
pub mod consts;
|
2012-11-15 02:23:39 +00:00
|
|
|
pub mod ext;
|
2012-11-01 23:15:57 +00:00
|
|
|
}
|
|
|
|
|
2012-11-06 01:57:15 +00:00
|
|
|
pub mod funs {
|
|
|
|
pub mod boolv;
|
|
|
|
pub mod common;
|
|
|
|
pub mod exp;
|
2012-11-07 02:38:44 +00:00
|
|
|
pub mod projection;
|
2012-11-06 01:57:15 +00:00
|
|
|
pub mod relv;
|
2012-11-07 02:36:35 +00:00
|
|
|
pub mod transform;
|
2012-11-06 01:57:15 +00:00
|
|
|
pub mod trig;
|
2012-11-05 10:31:52 +00:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
mod test {
|
2012-11-06 01:57:15 +00:00
|
|
|
mod test_boolv;
|
2012-11-08 01:48:50 +00:00
|
|
|
mod test_transform;
|
2012-11-05 10:31:52 +00:00
|
|
|
}
|
2012-10-28 11:43:23 +00:00
|
|
|
}
|