From 051c35967530c0bd8237b7000e24fdec25d8b319 Mon Sep 17 00:00:00 2001 From: ~keith Date: Mon, 14 Feb 2022 18:45:25 +0000 Subject: [PATCH] Fix world-matrix calculation (resolves #7) --- wh-engine/actor.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wh-engine/actor.lisp b/wh-engine/actor.lisp index bdf2a20..9354fb3 100644 --- a/wh-engine/actor.lisp +++ b/wh-engine/actor.lisp @@ -301,7 +301,7 @@ (defmethod world-matrix ((this actor)) "The local-to-world-space transformation matrix for this actor." (if [this parent] - (m* [this matrix] [this parent world-matrix]) + (m* [this parent world-matrix] [this matrix]) [this matrix])) (defmethod local-matrix ((this actor))