1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-28 08:49:30 +00:00

Added ctr.gfx.line, ctr.gfx.point and ctr.gfx.circle

This commit is contained in:
Reuh 2015-08-18 17:27:30 +02:00
parent 5c0292f914
commit d21906c684
2 changed files with 46 additions and 1 deletions

View file

@ -26,6 +26,12 @@ while os.run() do
gfx.color.setDefault(0x00FFFFFF)
gfx.rectangle(240, 150, 120, 10)
gfx.line(50, 50, 75, 96, gfx.color.RGBA8(52, 255, 65))
gfx.point(10, 10, 0xFF0000FF)
gfx.circle(125, 125, 16)
gfx.endFrame()
angle = angle + 0.05