diff options
author | Colin Okay <colin@cicadas.surf> | 2022-06-30 07:45:23 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-06-30 07:45:23 -0500 |
commit | 099c3f927c11fe7ae4d12933d6f72abc0b53e973 (patch) | |
tree | b8d497bcffd98459e6b510d2b2541269218df6b5 /src/wheelwork.lisp | |
parent | e0fc8f0f7a8b4756226cfb5e1c7581e411420228 (diff) |
[modify] changed unit-width/height to just width/height. made defun
Diffstat (limited to 'src/wheelwork.lisp')
-rw-r--r-- | src/wheelwork.lisp | 2 |
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 |