merge ws/3d: obj stl ply off vox gltf/glb, ops/MeshOps, codecs Base64/MeshFlatten, api sibling files + texture encoding
This commit is contained in:
commit
91eba2bc24
145 files changed
+16413
-17
No files matched your search
+1
-1
@@ -410,7 +410,7 @@ function M.__iter(t, s, c)
|
||||
local mt = getmetatable(t)
|
||||
if rawtype(mt) == "table" and mt.__iter then return mt.__iter(t) end
|
||||
local n = #t
|
||||
if n > 0 and next(t, n) == nil then return ipairs(t) end
|
||||
if n > 0 and t[0] == nil and next(t, n) == nil then return ipairs(t) end -- LuaJIT keeps t[0] in the array part
|
||||
return next, t, nil
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user