mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 15:23:48 +01:00
Variable name fix
This commit is contained in:
parent
b8a3e162cc
commit
4400cdeed9
@ -8,7 +8,7 @@ function multiply(self, other)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function normalize(self)
|
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 = {}
|
local res = {}
|
||||||
for key, value in pairs(self) do
|
for key, value in pairs(self) do
|
||||||
res[key] = value / len
|
res[key] = value / len
|
||||||
|
Loading…
Reference in New Issue
Block a user