update 02 guide code
This commit is contained in:
parent
50ba35d4cb
commit
659dc6fd5f
|
@ -44,8 +44,7 @@ func run() {
|
||||||
|
|
||||||
win.Clear(colornames.Greenyellow)
|
win.Clear(colornames.Greenyellow)
|
||||||
|
|
||||||
sprite.SetMatrix(pixel.IM.Moved(win.Bounds().Center()))
|
sprite.Draw(win, pixel.IM.Moved(win.Bounds().Center()))
|
||||||
sprite.Draw(win)
|
|
||||||
|
|
||||||
for !win.Closed() {
|
for !win.Closed() {
|
||||||
win.Update()
|
win.Update()
|
||||||
|
|
Loading…
Reference in New Issue