summaryrefslogtreecommitdiffstats
path: root/point.cpp
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2024-10-09 17:00:53 -0400
committerSam Anthony <sam@samanthony.xyz>2024-10-09 17:00:53 -0400
commit20622555ee6eabb3d3c9f618d65b91736dd7097f (patch)
treeabe6faf05b22909c050449084e0c28f7158a6231 /point.cpp
parentf48d24f99849fb9e801970bcb124cd49fa2418f6 (diff)
downloadballs-20622555ee6eabb3d3c9f618d65b91736dd7097f.zip
refactor
Diffstat (limited to 'point.cpp')
-rw-r--r--point.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/point.cpp b/point.cpp
index 099165d..7d73b31 100644
--- a/point.cpp
+++ b/point.cpp
@@ -56,8 +56,3 @@ insetRect(Rectangle r, double n) {
r.max.y -= n;
return r;
}
-
-Point
-randPtInRect(Rectangle r) {
- return Pt(randDouble(r.min.x, r.max.x), randDouble(r.min.y, r.max.y));
-}