1 2 3 4 5 6 7 8 9 10 11
use crate::core::PackedAnimation; use crate::draw::Tessellation; pub trait AnimationKind: Send + Sync + 'static + Clone { fn generate ( self, tesselation: Tessellation, ) -> PackedAnimation; }
1 2 3 4 5 6 7 8 9 10 11
use crate::core::PackedAnimation; use crate::draw::Tessellation; pub trait AnimationKind: Send + Sync + 'static + Clone { fn generate ( self, tesselation: Tessellation, ) -> PackedAnimation; }