diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 20:36:11 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 20:36:11 -0400 |
| commit | 25b5660fbbd75378d465c5f70fd881cb10de4456 (patch) | |
| tree | ae6601f18157157f0006133a7f7c0c1ce1f77b30 | |
| parent | 1b2fb1b42eda8d06467aa18fe65338d351805d34 (diff) | |
| download | balls-25b5660fbbd75378d465c5f70fd881cb10de4456.zip | |
remove pad
| -rw-r--r-- | balls.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |