mtscad/test/workspace/draw_polygon_fill.lua

10 lines
170 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}
}, true)
end