Gauge direction (#326)

Add `gauge` with all the different directions.

Co-authored-by: Aleksandar Brakmic <13668697+brakmic-aleksandar@users.noreply.github.com>
This commit is contained in:
Arthur Sonzogni
2022-02-06 19:17:21 +01:00
committed by GitHub
parent 7c3ca1beb5
commit 8ba3698437
7 changed files with 369 additions and 19 deletions

View File

@@ -17,7 +17,7 @@ class Inverted : public NodeDecorator {
Node::Render(screen);
for (int y = box_.y_min; y <= box_.y_max; ++y) {
for (int x = box_.x_min; x <= box_.x_max; ++x) {
screen.PixelAt(x, y).inverted = true;
screen.PixelAt(x, y).inverted ^= true;
}
}
}