summaryrefslogtreecommitdiffstats
path: root/balls.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-10-09 17:00:53 -0400
committerSam Anthony <sam@samanthony.xyz>2024-10-09 17:00:53 -0400
commit20622555ee6eabb3d3c9f618d65b91736dd7097f (patch)
treeabe6faf05b22909c050449084e0c28f7158a6231 /balls.h
parentf48d24f99849fb9e801970bcb124cd49fa2418f6 (diff)
downloadballs-20622555ee6eabb3d3c9f618d65b91736dd7097f.zip
refactor
Diffstat (limited to 'balls.h')
-rw-r--r--balls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/balls.h b/balls.h
index 27bffde..4d070c9 100644
--- a/balls.h
+++ b/balls.h
@@ -63,7 +63,6 @@ Point ptMulS(Point p, double s);
Point ptDivS(Point p, double s);
Point Pt(double x, double y);
Rectangle insetRect(Rectangle r, double n);
-Point randPtInRect(Rectangle r);
Vector addVec(Vector v1, Vector v2);
Vector subVec(Vector v1, Vector v2);
@@ -80,3 +79,5 @@ void collideWall(Ball *b, Rectangle wall);
void collideBall(Ball *b1, Ball *b2);
double randDouble(double lo, double hi);
+Color randColor(void);
+Point randPtInRect(Rectangle r);