diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 17:16:54 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-09-25 17:16:54 -0400 |
| commit | 44dd6ad61dfed5d89f8abf7e8f41797501f071cc (patch) | |
| tree | 299f0b12e0f19c9b9f117232a1b0f1266b879632 /balls.h | |
| parent | 50f5164c529d57aeaf5c435b33683afabfc25c40 (diff) | |
| download | balls-44dd6ad61dfed5d89f8abf7e8f41797501f071cc.zip | |
refactor graphics functions
Diffstat (limited to 'balls.h')
| -rw-r--r-- | balls.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -32,6 +32,10 @@ Point ptaddv(Point p, Vec v); Vec V(double x, double y); Vec Vpt(Point p, Point q); +void drawbg(Image *walls, Image *bg); +Image *alloccircle(int fg, int bg); +void drawcircle(Image *m, Point pos); + int iscollision(Point p, Point q); void collideball(Ball *b1, const Ball *b2); void collidewall(Ball *b, Rectangle wall); |