From a9f0521984f43f3048d3e0fec15082916e7f8331 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Wed, 28 Oct 2020 22:29:38 -0500 Subject: fix bug in model loading --- demo/Matrix.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demo/Matrix.lua') diff --git a/demo/Matrix.lua b/demo/Matrix.lua index eae210f..d38b20b 100644 --- a/demo/Matrix.lua +++ b/demo/Matrix.lua @@ -47,7 +47,7 @@ end Matrix.Mat3.prototype.mulv = function(self, v, dest) local result if dest == nil then - result = Matrix.Mat3.new() + result = Matrix.Vec3.new() else result = dest end @@ -218,7 +218,7 @@ end Matrix.Mat4.prototype.mulv = function(self, v, dest) local result if dest == nil then - result = Matrix.Mat4.new() + result = Matrix.Vec4.new() else result = dest end -- cgit v1.2.1