fixed a weird typo in code

This commit is contained in:
faiface 2017-01-25 22:43:10 +01:00
parent 3579be2d83
commit 9a4c02e488
1 changed files with 1 additions and 1 deletions

View File

@ -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)