Fix world-matrix calculation (resolves #7)
This commit is contained in:
parent
ac990359cb
commit
051c359675
|
@ -301,7 +301,7 @@
|
||||||
(defmethod world-matrix ((this actor))
|
(defmethod world-matrix ((this actor))
|
||||||
"The local-to-world-space transformation matrix for this actor."
|
"The local-to-world-space transformation matrix for this actor."
|
||||||
(if [this parent]
|
(if [this parent]
|
||||||
(m* [this matrix] [this parent world-matrix])
|
(m* [this parent world-matrix] [this matrix])
|
||||||
[this matrix]))
|
[this matrix]))
|
||||||
|
|
||||||
(defmethod local-matrix ((this actor))
|
(defmethod local-matrix ((this actor))
|
||||||
|
|
Loading…
Reference in New Issue