basic working polygon renderer

This commit is contained in:
2024-06-15 03:03:48 -04:00
parent 219213ee24
commit aa466a248c
23 changed files with 639 additions and 300 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
use std::ops::Deref;
use bevy_ecs::{
entity::Entity,
query::{Added, Changed, Or},
@@ -31,7 +33,7 @@ pub fn add_grid(
grid.len_of(Axis(1)),
grid.len_of(Axis(2)),
),
grid: grid.iter().cloned().collect(),
grid: grid.deref().clone(),
}));
}
}