summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.go4
-rw-r--r--tek.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index fa0126b..93cd392 100644
--- a/main.go
+++ b/main.go
@@ -25,7 +25,7 @@ func main() {
for v := 0.0; v <= 1.0; v += step {
vertex := Calc(u, v, p)
x, y := vertex.Project()
- out.Draw(x, y)
+ out.Plot(x, y)
}
out.PenUp()
@@ -33,7 +33,7 @@ func main() {
for v := 0.0; v <= 1.0; v += step {
vertex := Calc(v, u, p)
x, y := vertex.Project()
- out.Draw(x, y)
+ out.Plot(x, y)
}
out.PenUp()
}
diff --git a/tek.go b/tek.go
index 7d1451e..d07ab84 100644
--- a/tek.go
+++ b/tek.go
@@ -60,7 +60,7 @@ func limit(val, max int) int {
return val
}
-func (o *Out) Draw(x, y int) {
+func (o *Out) Plot(x, y int) {
x = limit(x, width)
y = limit(y, height)