off by one errors baby
This commit is contained in:
parent
7706a9f3ef
commit
46ebd36a9c
1 changed files with 2 additions and 2 deletions
|
@ -79,8 +79,8 @@ fn setup(
|
|||
let circle_mesh = Mesh2dHandle(meshes.add(Rectangle::new(TILE_SIZE, TILE_SIZE)));
|
||||
let color = Color::from(tailwind::NEUTRAL_700);
|
||||
|
||||
for i in 0..=TILES {
|
||||
for j in 0..=TILES {
|
||||
for i in 0..TILES {
|
||||
for j in 0..TILES {
|
||||
let tile_x = i as f32 * TILE_SPACE - CENTER;
|
||||
let tile_y = j as f32 * TILE_SPACE - CENTER;
|
||||
commands.spawn(MaterialMesh2dBundle {
|
||||
|
|
Loading…
Reference in a new issue