~npisanti/rsk_tools

3d41b0c48e8224f9cc6a20d44810ef2d2f07a0e0 — Nicola Pisanti a month ago b9fb4eb
more arguments for shader and shadercam
2 files changed, 8 insertions(+), 0 deletions(-)

M shader/main.lua
M shadercam/main.lua
M shader/main.lua => shader/main.lua +4 -0
@@ 29,6 29,10 @@ else
	layer.create( "def", w, h, 1 )
end

if args.count() > 6 then
	window.move( tonumber(args.get(5)), tonumber(args.get(6)) )
end 

----------------------------------------------------
function loop()
    layer.open()

M shadercam/main.lua => shadercam/main.lua +4 -0
@@ 28,6 28,10 @@ else
	layer.create( "def", camw, camh, 1 )
end

if args.count() > 7 then
	window.move( tonumber(args.get(6)), tonumber(args.get(7)) )
end 

frag.load( args.get(0), "glsl" )      

cam.open(args.get(2), camw, camh )