Variable name fix

This commit is contained in:
Lars Mueller 2021-02-02 23:37:15 +01:00
parent b8a3e162cc
commit 4400cdeed9

@ -8,7 +8,7 @@ function multiply(self, other)
end
function normalize(self)
local len = math.sqrt(self[1] ^ 2 + self[2] ^ 2 + self[3] ^ 2 + (q[4] ^ 4))
local len = math.sqrt(self[1] ^ 2 + self[2] ^ 2 + self[3] ^ 2 + (self[4] ^ 4))
local res = {}
for key, value in pairs(self) do
res[key] = value / len