Bug fix: the initial state of a ebiten

This commit is contained in:
Hajime Hoshi 2013-12-08 22:14:52 +09:00
parent c36d8c5512
commit 63abfb2c13
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ func (game *Game) Update() {
game.drawInfo.textureGeo.Translate(-textureWidth/2, -textureHeight/2)
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))

View File

@ -5,7 +5,7 @@ import (
)
type textureFactoryEvents struct {
textureCreated chan graphics.TextureCreatedEvent
textureCreated chan graphics.TextureCreatedEvent
renderTargetCreated chan graphics.RenderTargetCreatedEvent
}