aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/wheelwork.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-06-30 07:45:23 -0500
committerColin Okay <colin@cicadas.surf>2022-06-30 07:45:23 -0500
commit099c3f927c11fe7ae4d12933d6f72abc0b53e973 (patch)
treeb8d497bcffd98459e6b510d2b2541269218df6b5 /src/wheelwork.lisp
parente0fc8f0f7a8b4756226cfb5e1c7581e411420228 (diff)
[modify] changed unit-width/height to just width/height. made defun
Diffstat (limited to 'src/wheelwork.lisp')
-rw-r--r--src/wheelwork.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wheelwork.lisp b/src/wheelwork.lisp
index 885ae1e..849e2c7 100644
--- a/src/wheelwork.lisp
+++ b/src/wheelwork.lisp
@@ -66,7 +66,7 @@ TARGET is FOCUSABLEP"
(defun get-rect (unit)
"Returns a list of vectors representing the path of the smallest
rectangle that encloses the unit. The rectangle is scaled and rotated."
- (with-accessors ((x x) (y y) (w unit-width) (h unit-height) (r rotation)) unit
+ (with-accessors ((x x) (y y) (w width) (h height) (r rotation)) unit
(let ((m
(mat:meye 4))
(tr