From e0fc8f0f7a8b4756226cfb5e1c7581e411420228 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Thu, 30 Jun 2022 07:35:16 -0500 Subject: [refactor] factored out affine from unit; made container a unit; --- src/wheelwork.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wheelwork.lisp') diff --git a/src/wheelwork.lisp b/src/wheelwork.lisp index b6da6b9..885ae1e 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 unit-x) (y unit-y) (w unit-width) (h unit-height) (r unit-rotation)) unit + (with-accessors ((x x) (y y) (w unit-width) (h unit-height) (r rotation)) unit (let ((m (mat:meye 4)) (tr -- cgit v1.2.3