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-25 16:26:01 +00:00
|
|
|
pub mod angle;
|
2012-11-15 02:23:39 +00:00
|
|
|
pub mod dim;
|
2012-11-16 06:55:20 +00:00
|
|
|
pub mod gltypes;
|
2012-11-15 02:23:39 +00:00
|
|
|
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-26 01:22:49 +00:00
|
|
|
mod test_angle;
|
2012-11-21 04:33:20 +00:00
|
|
|
mod test_gltypes;
|
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-28 07:50:26 +00:00
|
|
|
pub mod color {
|
|
|
|
pub mod channel;
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
mod test {
|
|
|
|
mod test_channel;
|
|
|
|
}
|
2012-11-01 23:15:57 +00:00
|
|
|
}
|
|
|
|
|
2012-11-06 01:57:15 +00:00
|
|
|
pub mod funs {
|
2012-11-26 07:31:26 +00:00
|
|
|
pub mod common;
|
|
|
|
pub mod exponential;
|
|
|
|
pub mod projection;
|
|
|
|
pub mod relational;
|
|
|
|
pub mod triganomic;
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
mod test {
|
|
|
|
mod test_common;
|
|
|
|
mod test_relational;
|
|
|
|
}
|
2012-11-28 07:50:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pub mod num {
|
|
|
|
pub mod cast;
|
|
|
|
pub mod consts;
|
|
|
|
pub mod default_eq;
|
|
|
|
pub mod ext;
|
|
|
|
pub mod rhs; // FIXME: see module description
|
2012-10-28 11:43:23 +00:00
|
|
|
}
|