summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-04-14 21:03:09 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-04-14 21:13:19 -0400
commitdcc9ca733564ca751e712f29d5f2260eba9e95e0 (patch)
tree417d9adb8734c2dbfd11f763eed52e67efde3471
parentf967da88a55e00d6b00055a9764bb99a9bb4ea1c (diff)
node-2d: Remove pivot method.
-rw-r--r--starling/node-2d.scm6
1 files changed, 0 insertions, 6 deletions
diff --git a/starling/node-2d.scm b/starling/node-2d.scm
index a325660..5ee75fe 100644
--- a/starling/node-2d.scm
+++ b/starling/node-2d.scm
@@ -74,7 +74,6 @@
local-matrix
world-matrix
dirty!
- pivot
move-by
move-to
teleport
@@ -308,11 +307,6 @@
;; Animation helpers
-(define-method (pivot (node <node-2d>) x y)
- (let ((o (origin node)))
- (set-vec2-x! o x)
- (set-vec2-y! o y)
- (dirty! node)))
(define-method (move-to (node <node-2d>) x y)
(let ((p (position node)))