aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core-units/unit.lisp
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-06-30 06:12:29 -0500
committerColin Okay <colin@cicadas.surf>2022-06-30 06:12:29 -0500
commit7bbcc1cce6dbda1c6f5ad84f956c188ce639100d (patch)
tree3cb562514cea4af99a0673828776e5b1a7ec0337 /src/core-units/unit.lisp
parent73dc07ed1dd3462e545a71bbcc388c27185f0279 (diff)
[modify] projected-matrix no longer generic
Diffstat (limited to 'src/core-units/unit.lisp')
-rw-r--r--src/core-units/unit.lisp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core-units/unit.lisp b/src/core-units/unit.lisp
index 939293b..6ccd31e 100644
--- a/src/core-units/unit.lisp
+++ b/src/core-units/unit.lisp
@@ -64,8 +64,8 @@
(mat:nmscale m (vec:vec uw uh 1.0))))
m))
-(defmethod projected-matrix ((thing unit))
- (or (cached-projected-matrix thing)
- (setf (cached-projected-matrix thing)
+(defun projected-matrix (unit)
+ (or (cached-projected-matrix unit)
+ (setf (cached-projected-matrix unit)
(mat:marr (mat:m* (application-projection *application*)
- (model-matrix thing))))))
+ (model-matrix unit))))))