From 68212636f523e060880c1e21f7ae9bc4abada571 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 2 Nov 2024 18:28:03 -0400 Subject: rename Rectangle->Rect for windows compatibility --- rand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rand.c') 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) -- cgit v1.2.3