From 9a4c02e488432edcd771978857967cd1cd05fc65 Mon Sep 17 00:00:00 2001 From: faiface <faiface@ksp.sk> Date: Wed, 25 Jan 2017 22:43:10 +0100 Subject: [PATCH] fixed a weird typo in code --- graphics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics.go b/graphics.go index d9a46d5..c072dbc 100644 --- a/graphics.go +++ b/graphics.go @@ -198,8 +198,8 @@ func (s *Sprite) SetPicture(pic *Picture) { } w, h := pic.Bounds().Size.XY() s.data[0].Position = V(0, 0) - s.data[2].Position = V(w, h) s.data[1].Position = V(w, 0) + s.data[2].Position = V(w, h) s.data[3].Position = V(0, 0) s.data[4].Position = V(w, h) s.data[5].Position = V(0, h) -- GitLab