mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
//smake: fix luacheck warnings
This commit is contained in:
parent
4c7bb6a980
commit
3d12345972
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ worldedit.register_command("smake", {
|
||||||
end,
|
end,
|
||||||
func = function(name, oper, mode, targ, base)
|
func = function(name, oper, mode, targ, base)
|
||||||
local p1, p2 = vector.new(worldedit.pos1[name]), vector.new(worldedit.pos2[name])
|
local p1, p2 = vector.new(worldedit.pos1[name]), vector.new(worldedit.pos2[name])
|
||||||
local eval = function() end -- Declare eval placeholder function to edit later
|
local eval -- Declare eval placeholder function to edit later
|
||||||
|
|
||||||
local delta = vector.subtract(p2,p1) -- local delta equation: Vd(a) = V2(a) - V1(a)
|
local delta = vector.subtract(p2,p1) -- local delta equation: Vd(a) = V2(a) - V1(a)
|
||||||
local _tl = #targ -- Get targ length as a variable incase mode is "average"/"avg"
|
local _tl = #targ -- Get targ length as a variable incase mode is "average"/"avg"
|
||||||
|
|
Loading…
Reference in a new issue