summaryrefslogtreecommitdiffstats
path: root/balls.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-10-28 11:09:12 -0400
committerSam Anthony <sam@samanthony.xyz>2024-10-28 11:09:12 -0400
commit93a3f005480effe48513e7bc81161db1adc43f32 (patch)
tree64eeca36d8fc5c26663212db9210bc86d63dcd52 /balls.h
parent613c6f7390cfc85a440b8aef3ec6e9d88529e526 (diff)
downloadballs-93a3f005480effe48513e7bc81161db1adc43f32.zip
move
Diffstat (limited to 'balls.h')
-rw-r--r--balls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/balls.h b/balls.h
index 7c9a8ca..db59b50 100644
--- a/balls.h
+++ b/balls.h
@@ -7,3 +7,4 @@ typedef struct {
int isCollision(float2 p1, float r1, float2 p2, float r2);
Rectangle insetRect(Rectangle r, float n);
float2 randPtInRect(Rectangle r);
+float2 randVec(float xmin, float xmax, float ymin, float ymax);