summaryrefslogtreecommitdiff
path: root/demo/Matrix.lua
diff options
context:
space:
mode:
Diffstat (limited to 'demo/Matrix.lua')
-rw-r--r--demo/Matrix.lua4
1 files changed, 2 insertions, 2 deletions
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