summaryrefslogtreecommitdiffstats
path: root/rand.c
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-11-02 18:28:03 -0400
committerSam Anthony <sam@samanthony.xyz>2024-11-02 18:28:03 -0400
commit68212636f523e060880c1e21f7ae9bc4abada571 (patch)
treeab8f76e891915d246115e6678458885b000014c1 /rand.c
parent99ea1bd1d3e0493c5bca3322886cef53bb113810 (diff)
downloadballs-68212636f523e060880c1e21f7ae9bc4abada571.zip
rename Rectangle->Rect for windows compatibility
Diffstat (limited to 'rand.c')
-rw-r--r--rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rand.c b/rand.c
index b679600..4722ef5 100644
--- a/rand.c
+++ b/rand.c
@@ -19,7 +19,7 @@ randFloat(float lo, float hi) {
}
Vector
-randPtInRect(Rectangle r) {
+randPtInRect(Rect r) {
Vector pt = {
randFloat(r.min.x, r.max.x),
randFloat(r.min.y, r.max.y)