Browse Source

fixed small polarity bug

master
Thomas Johnson 6 months ago
parent
commit
237d9daa47
  1. 2
      src/main.rs

2
src/main.rs

@ -152,7 +152,7 @@ fn main()
for (y, line) in data.lines().enumerate() {
for (x, c) in line.chars().enumerate() {
if !c.is_whitespace() {
grid.set(x as isize, y as isize, State::Alive);
grid.set(x as isize, -(y as isize), State::Alive);
}
}
}

Loading…
Cancel
Save