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
pub use self::color::Colorf;
pub use self::render_target::RenderTarget;
pub use self::camera::Camera;
pub use self::render_target::ImageSample;
pub use self::animated_color::{ColorKeyframe, AnimatedColor};
pub use self::image::Image;
pub mod color;
pub mod render_target;
pub mod camera;
pub mod filter;
pub mod animated_color;
pub mod image;
#[derive(Debug, Copy, Clone)]
pub struct FrameInfo {
pub frames: usize,
pub time: f32,
pub start: usize,
pub end: usize,
}
impl FrameInfo {
pub fn new(frames: usize, time: f32, start: usize, end: usize) -> FrameInfo {
FrameInfo { frames: frames, time: time, start: start, end: end }
}
}