mtscad/test/workspace/draw_polygon_fill.lua
2023-04-25 14:06:56 +02:00

10 lines
170 B
Lua

return function(ctx)
ctx
:with({ name="default:cobble" })
:polygon({
-- x, y (triangle)
{0,0},
{0,10},
{10,0}
}, true)
end