diff options
Diffstat (limited to 'examples/create_star.lua')
| -rw-r--r-- | examples/create_star.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/create_star.lua b/examples/create_star.lua index 078f5df..197180c 100644 --- a/examples/create_star.lua +++ b/examples/create_star.lua @@ -15,12 +15,9 @@ function draw_star(S) local r = (i % 2 == 0) and inner.radius or outer.radius local pos = inner.center + vec2.from_cartesian(r, step * i) - draw.cross(pos) + op.add(pos, vec2(20, 20)) draw.line(pos, lag) - -- obj = Object("object_"..i, pos, vec2(20, 20)) - -- op.add(obj) - lag = pos end end |
