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
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
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