anim8/lib.rs
1pub mod animation;
2pub mod curve;
3pub mod phase;
4pub mod spline;
5pub mod transition;
6pub mod utils;
7
8pub mod prelude {
9 pub use crate::{animation::*, curve::*, phase::*, spline::*, transition::*, utils::*, Scalar};
10}
11
12/// Scalar number type.
13///
14/// by default it is 32-bit flaot but you can change it to 64-bit float with `scalar64` feature.
15#[cfg(not(feature = "scalar64"))]
16pub type Scalar = f32;
17#[cfg(feature = "scalar64")]
18pub type Scalar = f64;