cgmath/src/lmath.rc

76 lines
1.5 KiB
Plaintext
Raw Normal View History

#[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"];
extern mod std;
2012-09-07 10:48:47 +00:00
2012-11-25 16:26:01 +00:00
pub mod angle;
pub mod dim;
pub mod gltypes;
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"]
mod test_mat;
2012-12-01 00:17:30 +00:00
#[path = "test/test_quat.rs"]
mod test_quat;
2012-12-01 00:17:30 +00:00
#[path = "test/test_vec.rs"]
mod test_vec;
2012-11-05 10:31:52 +00:00
}
2012-11-28 07:50:26 +00:00
pub mod color {
2012-12-01 00:17:30 +00:00
#[path = "color/channel.rs"]
2012-11-28 07:50:26 +00:00
pub mod channel;
2012-12-01 00:17:30 +00:00
#[path = "color/color.rs"]
2012-11-30 12:46:44 +00:00
pub mod color;
2012-11-28 07:50:26 +00:00
#[test]
mod test {
2012-12-01 00:17:30 +00:00
#[path = "color/test/test_channel.rs"]
2012-11-28 07:50:26 +00:00
mod test_channel;
2012-12-01 00:17:30 +00:00
#[path = "color/test/test_color.rs"]
2012-11-30 12:46:44 +00:00
mod test_color;
2012-11-28 07:50:26 +00:00
}
2012-11-01 23:15:57 +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-01 00:17:30 +00:00
#[path = "num/cast.rs"]
2012-11-28 07:50:26 +00:00
pub mod cast;
2012-12-01 00:17:30 +00:00
#[path = "num/default_eq.rs"]
2012-11-28 07:50:26 +00:00
pub mod default_eq;
#[path = "num/kinds.rs"]
pub mod kinds;
2012-12-01 00:17:30 +00:00
#[path = "num/rhs.rs"]
2012-11-28 07:50:26 +00:00
pub mod rhs; // FIXME: see module description
2012-12-01 00:17:30 +00:00
}