summaryrefslogtreecommitdiffstats
path: root/balls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'balls.cpp')
-rw-r--r--balls.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/balls.cpp b/balls.cpp
index 621fb13..45704a5 100644
--- a/balls.cpp
+++ b/balls.cpp
@@ -116,19 +116,3 @@ animate(int v) {
display();
glutTimerFunc(FRAME_TIME_MS, animate, 0);
}
-
-Point
-ptAddVec(Point p, Vector v) {
- p.x += v.x;
- p.y += v.y;
- return p;
-}
-
-Rectangle
-insetRect(Rectangle r, double n) {
- r.min.x += n;
- r.min.y += n;
- r.max.x -= n;
- r.max.y -= n;
- return r;
-}