summaryrefslogtreecommitdiff
path: root/demo/Matrix.lua
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-11-07 13:14:30 -0600
committersanine-a <sanine.not@pm.me>2020-11-07 13:14:30 -0600
commit94572182ea873d5dadbc8428330d4c00eead2c80 (patch)
treeb9152a7d474c236c29d42e133300b8513690bfef /demo/Matrix.lua
parent8bb877ad57e7e41d928408e81f4e8cca63e171f7 (diff)
add basic Node transform functions and implement transform cascading
Diffstat (limited to 'demo/Matrix.lua')
-rw-r--r--demo/Matrix.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo/Matrix.lua b/demo/Matrix.lua
index d38b20b..d07944e 100644
--- a/demo/Matrix.lua
+++ b/demo/Matrix.lua
@@ -199,7 +199,7 @@ Matrix.Mat4.prototype.mul = function(self, M, dest)
result = dest
end
- honey.cglm.mat4.mul(self.array, M.array, result)
+ honey.cglm.mat4.mul(self.array, M.array, result.array)
return result
end