From 20622555ee6eabb3d3c9f618d65b91736dd7097f Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 9 Oct 2024 17:00:53 -0400 Subject: refactor --- balls.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'balls.h') 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); -- cgit v1.2.3