Skip to content

Commit

Permalink
tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
rktrlng committed Jan 18, 2020
1 parent 9efa2cc commit 9b6719a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/matrixpixel/scene01.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void Scene01::update(float deltaTime)
Vector2f from = Vector2f(drawpoints[a].x, canvas->height() - drawpoints[a].y);
Vector2f to = Vector2f(drawpoints[b].x, canvas->height() - drawpoints[b].y);
canvas->drawLine(from, to, color);
}
}

// draw debug box
ddClear();
Expand All @@ -117,7 +117,7 @@ void Scene01::update(float deltaTime)
} else {
ddLine(drawpoints[a].x, drawpoints[a].y, drawpoints[b].x, drawpoints[b].y, CYAN);
}
}
}

// draw points
for (size_t i = 0; i < 8; i++) {
Expand Down

0 comments on commit 9b6719a

Please sign in to comment.