diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:28:03 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2024-11-02 18:28:03 -0400 |
| commit | 68212636f523e060880c1e21f7ae9bc4abada571 (patch) | |
| tree | ab8f76e891915d246115e6678458885b000014c1 /rand.c | |
| parent | 99ea1bd1d3e0493c5bca3322886cef53bb113810 (diff) | |
| download | balls-68212636f523e060880c1e21f7ae9bc4abada571.zip | |
rename Rectangle->Rect for windows compatibility
Diffstat (limited to 'rand.c')
| -rw-r--r-- | rand.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |