Spotted bottleneck
This commit is contained in:
parent
8373b10ac1
commit
3f20b45ed3
1 changed files with 3 additions and 2 deletions
|
|
@ -34,9 +34,10 @@ pub fn debug_setup_grid(mut grid: ResMut<Grid>) {
|
|||
use crate::grid::GridElement;
|
||||
let mut tool = grid.manipulate();
|
||||
tool.fill_xyz(5, 0, 1, 5, 0, 14, GridElement::Solid);
|
||||
tool.fill_xyz(0, 0, 0, 4, 0, 15, GridElement::Water { amount: MAX_FLUID_AMOUNT });
|
||||
//tool.fill_xyz(0, 0, 0, 4, 0, 15, GridElement::Water { amount: MAX_FLUID_AMOUNT });
|
||||
//tool.set_xyz(0, 0, 6, GridElement::Source { source_amount: MAX_FLUID_AMOUNT });
|
||||
tool.set_xyz(15,0, 6, GridElement::Drain);
|
||||
tool.set_xyz(0, 8, 6, GridElement::Source { source_amount: MAX_FLUID_AMOUNT });
|
||||
//tool.set_xyz(15,0, 6, GridElement::Drain);
|
||||
}
|
||||
|
||||
pub fn setup_view_cubes(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue