summaryrefslogtreecommitdiffstats
path: root/balls.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-02 21:21:30 -0400
committerSam Anthony <sam@samanthony.xyz>2024-11-02 21:21:30 -0400
commitd08483a437bc44ddc7b65b140c9f173815e13a0f (patch)
tree739ad9ef17c2566b5cbc44f4260e781946d54103 /balls.c
parent341e7010688bce33c8710ac660d2ef9552420566 (diff)
downloadballs-d08483a437bc44ddc7b65b140c9f173815e13a0f.zip
decrease number of vertices
Diffstat (limited to 'balls.c')
-rw-r--r--balls.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/balls.c b/balls.c
index f43dbb9..c66a362 100644
--- a/balls.c
+++ b/balls.c
@@ -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} };