Lua script, lerp function

touk's icon

Hi,

can anyone tell me what i'm doing wrong in the following....

-----------------------------------------------------------------
require("vec")
this.inlets = 3
this.outlets = 2

local v1 ={1.,0.}
local v2 ={2.,2.}

for i = 0, 100 do
local t = i / 100
        local f = vec2.lerp(v1,v2,t)
            outlet(0,f)    

end

mirrorboy's icon

Hi, TOUK

I encountered same problem on jit.gl.lua.
Although this message was displayed, patches could perform correctly.

Are there bugs on jit.gl.lua editor?