bevy_manim/core/
mod.rs

1use std::sync::{Arc, Mutex};
2
3
4pub(crate) type ProgressFunc = fn(f32) -> f32;
5pub(crate) type Color = [f32; 4];
6pub(crate) type Indices = bevy::render::mesh::Indices;
7pub(crate) type Vertex = [f32; 3];
8pub type PackedAnimation = Arc<Mutex<dyn Animation>>;
9
10use crate::anim::funcs::{smooth};
11pub(crate) const DEFAULT_PROGRESS_FUNC: ProgressFunc = smooth;
12
13mod animation_kind;
14mod animation;
15
16pub use animation_kind::AnimationKind;
17pub use animation::Animation;