rendering works in pure ECS. This is actually pretty sweet. broke compu rendering though

This commit is contained in:
2020-09-17 23:55:21 -07:00
parent 76c75c349b
commit 34b5d7b3d0
11 changed files with 429 additions and 213 deletions

View File

@@ -148,11 +148,11 @@ impl Drawable for Text {
vec![self.verts.clone()]
}
fn update<T>(&self, delta_time: f32) -> Vec<TrUIEvent<T>> {
Vec::new()
}
fn notify<Y, T>(&self, tr_event: Vec<TrEvent<Y>>, ui_events: Vec<TrUIEvent<T>>) -> Vec<TrUIEvent<T>> {
Vec::new()
}
// fn update<T>(&self, delta_time: f32) -> Vec<TrUIEvent<T>> {
// Vec::new()
// }
//
// fn notify<Y, T>(&self, tr_event: Vec<TrEvent<Y>>, ui_events: Vec<TrUIEvent<T>>) -> Vec<TrUIEvent<T>> {
// Vec::new()
// }
}