forked from VoxeLibre/VoxeLibre
Fix local construct_nodes
This commit is contained in:
parent
8fa0371c63
commit
36a6a353a3
|
@ -114,7 +114,7 @@ function mcl_structures.construct_nodes(p1,p2,nodes)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function construct_nodes(pos,def,pr)
|
local function construct_nodes(pos,def,pr)
|
||||||
return mcl_structures.construct_nodes(vector.offset(pos,-def.sidelen/2,0,-def.sidelen/2),vector.offset(pos,def.sidelen/2,def.sidelen,def.sidelen/2))
|
return mcl_structures.construct_nodes(vector.offset(pos,-def.sidelen/2,0,-def.sidelen/2),vector.offset(pos,def.sidelen/2,def.sidelen,def.sidelen/2),def.construct_nodes)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue