From 25b5660fbbd75378d465c5f70fd881cb10de4456 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 25 Sep 2024 20:36:11 -0400 Subject: remove pad --- balls.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/balls.c b/balls.c index 287313e..6717e60 100644 --- a/balls.c +++ b/balls.c @@ -12,7 +12,6 @@ enum { BG = DWhite, WALLS = DBlack, - PAD = 0, WIDTH = 960, HEIGHT=640, @@ -45,7 +44,7 @@ typedef struct { static int ballcolors[] = { DRed, DGreen, DBlue }; static uint radii[] = { 20, 30, 50 }; -static Rectangle bounds = {{PAD, PAD}, {PAD+WIDTH, PAD+HEIGHT}}; +static Rectangle bounds = {{0, 0}, {WIDTH, HEIGHT}}; int init(char *label, Mousectl **mctl, Keyboardctl **kctl); void spawnball(void); -- cgit v1.2.3