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:
parent
5c0292f914
commit
d21906c684
2 changed files with 46 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue