Better lighting and a circle algorithm that works more reliably.
This commit is contained in:
parent
03fe9b3d01
commit
35f2defc11
9 changed files with 97 additions and 87 deletions
14
matrix.hpp
14
matrix.hpp
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue