Faces from a mesh: Difference between revisions

m
(→‎{{header|Lua}}: added Lua solution)
Line 535:
end
end
local e1e = nexte()
while e1e do
pf[#pf+1] = e1e[1]
hse[e1e] = nil
local e2e = nexte(e1e)
e1 = e2
end
if #pf ~= #ef then pf=T{"failed to convert edge format to perimeter format"} end
Anonymous user