1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Easey is for interpolation and easing for numbers between 0.0 and 1.0.
//!
//! It can be used as either stand alone functions, or a trait that adds
//! these functions onto f32 and f64 types.
//!
//! ```
//! use ::easey::f32::ease_in;
//! let n : f32 = ease_in(0.3);
//! ```
//!
//! ```
//! use ::easey::Easey;
//! let n : f32 = 0.3.ease_in();
//! ```
//!
//! The trait allows you to then easily chain functions, allowing one to combine them.
//! For example ...
//!
//! ```
//! use ::easey::Easey;
//! let n : f32 = 0.3.pre_delay(0.2).ease_in();
//! ```
//!
pub use *;