summaryrefslogtreecommitdiff
path: root/tek.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-01-07 18:21:34 +0100
committerDimitri Sokolyuk <demon@dim13.org>2017-01-07 18:21:34 +0100
commit895ff08d9db93b42ab5e1613f75f6fc22fad71c5 (patch)
treee901bd3aeeca7f73ec8971823b13a0bac0ab1c95 /tek.go
parent3772327d7365208d341338f4b25baad9795c7cd1 (diff)
Rename
Diffstat (limited to 'tek.go')
-rw-r--r--tek.go2
1 files changed, 1 insertions, 1 deletions
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)