mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-24 18:02:02 +01:00
Bug fix: the initial state of a ebiten
This commit is contained in:
parent
c36d8c5512
commit
63abfb2c13
@ -82,7 +82,7 @@ func (game *Game) Update() {
|
|||||||
|
|
||||||
game.drawInfo.textureGeo.Translate(-textureWidth/2, -textureHeight/2)
|
game.drawInfo.textureGeo.Translate(-textureWidth/2, -textureHeight/2)
|
||||||
game.drawInfo.textureGeo.Rotate(game.drawInfo.textureAngle)
|
game.drawInfo.textureGeo.Rotate(game.drawInfo.textureAngle)
|
||||||
game.drawInfo.textureGeo.Translate(textureWidth, textureHeight)
|
game.drawInfo.textureGeo.Translate(textureWidth/2, textureHeight/2)
|
||||||
|
|
||||||
game.drawInfo.textureGeo.Translate(float64(game.textureX), float64(game.textureY))
|
game.drawInfo.textureGeo.Translate(float64(game.textureX), float64(game.textureY))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user