Better lighting and a circle algorithm that works more reliably.

This commit is contained in:
Zed A. Shaw 2024-12-25 00:27:45 -05:00
parent 03fe9b3d01
commit 35f2defc11
9 changed files with 97 additions and 87 deletions

View file

@ -120,13 +120,13 @@ namespace matrix {
struct circle {
Point center;
int radius = 0;
int xi = 0;
int yi = 0;
int m = 0;
int step = 0;
int x0;
int x1;
int y;
int y = 0;
int dx = 0;
int dy = 0;
int left = 0;
int right = 0;
int top = 0;
int bottom = 0;
circle(Point center, int radius);
void update();