diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 21:21:30 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 21:21:30 -0400 |
| commit | d08483a437bc44ddc7b65b140c9f173815e13a0f (patch) | |
| tree | 739ad9ef17c2566b5cbc44f4260e781946d54103 /balls.c | |
| parent | 341e7010688bce33c8710ac660d2ef9552420566 (diff) | |
| download | balls-d08483a437bc44ddc7b65b140c9f173815e13a0f.zip | |
decrease number of vertices
Diffstat (limited to 'balls.c')
| -rw-r--r-- | balls.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -38,9 +38,7 @@ enum { }; enum { KEY_QUIT = 'q' }; enum { NBALLS_DEFAULT = 3 }; -enum { - CIRCLE_POINTS = 32+2, /* +2 for center point and last point which overlaps with first point. */ -}; +enum { CIRCLE_POINTS = 24 }; /* Number of vertices per circle. */ const Rect bounds = { {-1.0, -1.0}, {1.0, 1.0} }; |