ggmath/lib.rs
1//#![warn(missing_docs)]
2
3//! Generic-Graphics-Math with internal optimized SIMD.
4//!
5//! - Fully generic (Vector<Len, Scalar, Alignment>...).
6//! - Optimized with SIMD internally.
7//! - Simple API (FVec2...).
8//! - Both column-major and row-major matricies.
9//! - Num traits (FloatScalar...).
10//! - Optimal for GPU structs.
11//! - Optional additional types (Rect, Ray...).
12
13#[cfg(feature = "num")]
14pub use newnum as num;
15
16mod construct;
17pub use construct::*;
18
19pub mod scalar;
20pub mod vector;
21
22#[cfg(feature = "matrix")]
23pub mod matrix;
24
25#[cfg(feature = "quaternion")]
26pub mod quaternion;
27
28#[cfg(feature = "rectangle")]
29pub mod rectangle;
30
31#[cfg(feature = "testing")]
32pub mod testing;
33
34use crate as ggmath;