yes
This commit is contained in:
parent
7cd10f22cd
commit
d3cc842b12
1 changed files with 0 additions and 1 deletions
|
@ -69,7 +69,6 @@ func (t *Tilemap) Draw(screen *ebiten.Image, opts ebiten.DrawImageOptions) {
|
|||
continue
|
||||
}
|
||||
geom.Reset()
|
||||
//geom.Translate(float64(p.X*t.Sheet.CellSize.X+t.Offset.X), float64(p.Y*t.Sheet.CellSize.Y+t.Offset.Y))
|
||||
geom.Translate(float2(mul2(p, t.Sheet.CellSize).Add(t.Offset)))
|
||||
geom.Concat(og)
|
||||
opts.GeoM = geom
|
||||
|
|
Loading…
Reference in a new issue