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
@@ -212,6 +212,12 @@ do
|
||||
count += 1
|
||||
end
|
||||
t:eq(count, 3, "for over a mixed table visits every key")
|
||||
local zero = { [0] = 5, 6, 7 }
|
||||
local zsum = 0
|
||||
for _, v in zero do
|
||||
zsum += v
|
||||
end
|
||||
t:eq(zsum, 18, "for over a table with key 0 visits it (LuaJIT keeps t[0] in the array part)")
|
||||
local w = {}
|
||||
for word in string.gmatch("a b c", "%a") do
|
||||
table.insert(w, word)
|
||||
|
||||
Reference in new issue
Block a user