From e27211417ab0538096e773bd9afa585651500839 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Mon, 28 Oct 2024 11:39:45 -0400 Subject: variable radius --- balls.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'balls.h') diff --git a/balls.h b/balls.h index db59b50..051c185 100644 --- a/balls.h +++ b/balls.h @@ -6,5 +6,7 @@ typedef struct { int isCollision(float2 p1, float r1, float2 p2, float r2); Rectangle insetRect(Rectangle r, float n); + +float randFloat(float lo, float hi); float2 randPtInRect(Rectangle r); float2 randVec(float xmin, float xmax, float ymin, float ymax); -- cgit v1.2.3