mtscad/test/workspace/draw_polygon.lua

10 lines
164 B
Lua
Raw Permalink Normal View History

2023-04-25 14:06:56 +02:00
return function(ctx)
ctx
:with({ name="default:cobble" })
:polygon({
-- x, y (triangle)
{0,0},
{0,10},
{10,0}
})
end