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-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-12-01 00:17:30 +00:00
|
|
|
#[path = "test/test_angle.rs"]
|
2012-11-26 01:22:49 +00:00
|
|
|
mod test_angle;
|
2012-12-01 00:17:30 +00:00
|
|
|
#[path = "test/test_gltypes.rs"]
|
2012-11-21 04:33:20 +00:00
|
|
|
mod test_gltypes;
|
2012-12-01 00:17:30 +00:00
|
|
|
#[path = "test/test_mat.rs"]
|
2012-11-15 02:23:39 +00:00
|
|
|
mod test_mat;
|
2012-12-01 00:17:30 +00:00
|
|
|
#[path = "test/test_quat.rs"]
|
2012-11-15 02:23:39 +00:00
|
|
|
mod test_quat;
|
2012-12-01 00:17:30 +00:00
|
|
|
#[path = "test/test_vec.rs"]
|
2012-11-15 02:23:39 +00:00
|
|
|
mod test_vec;
|
2012-11-05 10:31:52 +00:00
|
|
|
}
|
|
|
|
|
2012-11-06 01:57:15 +00:00
|
|
|
pub mod funs {
|
2012-12-01 00:17:30 +00:00
|
|
|
#[path = "funs/common.rs"]
|
2012-11-26 07:31:26 +00:00
|
|
|
pub mod common;
|
2012-12-01 00:17:30 +00:00
|
|
|
#[path = "funs/exponential.rs"]
|
2012-11-26 07:31:26 +00:00
|
|
|
pub mod exponential;
|
2012-12-01 00:17:30 +00:00
|
|
|
#[path = "funs/projection.rs"]
|
2012-11-26 07:31:26 +00:00
|
|
|
pub mod projection;
|
2012-12-01 00:17:30 +00:00
|
|
|
#[path = "funs/triganomic.rs"]
|
2012-11-26 07:31:26 +00:00
|
|
|
pub mod triganomic;
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
mod test {
|
2012-12-01 00:17:30 +00:00
|
|
|
#[path = "funs/test/test_common.rs"]
|
2012-11-26 07:31:26 +00:00
|
|
|
mod test_common;
|
|
|
|
}
|
2012-11-28 07:50:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pub mod num {
|
2012-12-05 00:33:27 +00:00
|
|
|
#[path = "num/conv.rs"]
|
|
|
|
pub mod conv;
|
2012-12-11 23:55:42 +00:00
|
|
|
#[path = "num/types.rs"]
|
|
|
|
pub mod types;
|
2012-12-01 00:17:30 +00:00
|
|
|
}
|