cgmath/src/prelude.rs

25 lines
619 B
Rust
Raw Normal View History

2016-03-25 04:27:57 +00:00
//! This module contains the most common traits used in `cgmath`. By
//! glob-importing this module, you can avoid the need to import each trait
//! individually, while still being selective about what types you import.
pub use angle::Angle;
pub use array::Array;
pub use array::ElementWise;
2016-03-25 04:27:57 +00:00
pub use matrix::Matrix;
pub use matrix::SquareMatrix;
2016-04-08 09:56:30 +00:00
pub use point::EuclideanSpace;
2016-03-25 04:27:57 +00:00
pub use rotation::Rotation;
pub use rotation::Rotation2;
pub use rotation::Rotation3;
pub use transform::Transform;
pub use transform::Transform2;
pub use transform::Transform3;
pub use vector::InnerSpace;
pub use vector::VectorSpace;