From e2640ff058e077bf9de9a80394e649bbd819586c Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 15 May 2015 17:36:15 +0200 Subject: Fix commands --- robo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'robo.go') 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) -- cgit v1.2.3