aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-05-15 17:36:15 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-05-15 17:36:15 +0200
commite2640ff058e077bf9de9a80394e649bbd819586c (patch)
treed8de8bbc35d7add457163fc0b87ef3f0c52abc90
parent896b4a06f9de9904bea9faa0e6c6ba3d3970bc0a (diff)
Fix commands
-rw-r--r--robo.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/robo.go b/robo.go
index ab1bc6c..8b2c63b 100644
--- a/robo.go
+++ b/robo.go
@@ -57,9 +57,9 @@ func (ph Path) CurveRelative(c *bufio.Writer, a int) { ph.send(c, "_", a, ",") }
func (ph Path) Bezier(c *bufio.Writer, a int) { ph[0:4].send(c, "BZ", a, ",") }
func (ph Path) Circle(c *bufio.Writer) { ph[0:3].send(c, "W") }
+func (ph Path) Circle3P(c *bufio.Writer) { ph[0:3].send(c, "WP") }
func (ph Path) CircleRelative(c *bufio.Writer) { ph[0:2].send(c, "]") }
-func (ph Path) Circle3P(c *bufio.Writer) { ph[0:3].send(c, "]") }
-func (ph Path) Ellipse(c *bufio.Writer) { ph[0:4].send(c, "]") }
+func (ph Path) Ellipse(c *bufio.Writer) { ph[0:4].send(c, ")") }
func (u Unit) send(c *bufio.Writer, a ...interface{}) {
fmt.Fprint(c, a[0], u)