Although the Lua bindings themselves are compatible with vanilla Lua, some of the code samples provided here require Pluto.
Warning
These functions can easily be used incorrectly so new code is highly advised to use pluto-zip instead.
Note that the ZipReader takes a pointer to the reader instance, so a ZipReader instance must not reach scopes that the reader instance can't reach.
local fr = soup.FileReader("test.zip")
local zr = soup.ZipReader(fr)
for _, f in zr:getFileList() do
print(f.name .. ": " .. zr:getFileContents(f))
endReturns a soup::Matrix instance which provides setPosRotXYZ method and multiplication operator taking soup::Vector3.
Returns a soup::Vector3 instance.