Second round of Lua script API updates

This commit is contained in:
Robin Gareus
2022-09-27 18:58:53 +02:00
parent 1abf6a77d6
commit 76c0f42ecb
23 changed files with 76 additions and 112 deletions

View File

@@ -30,7 +30,7 @@ function factory () return function ()
-- add some new ones
for i=0,50 do
al:add (i * r:length () / 50,
al:add (r:length ():scale (Temporal:ratio (i, 50)),
1 - math.sqrt (i / 50),
false, true)
end