mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +01:00
Changed the size of the rectangle
This commit is contained in:
parent
215df5d190
commit
532528037a
@ -124,7 +124,7 @@ func (game *Sprites) Draw(g graphics.GraphicsContext, offscreen graphics.Texture
|
||||
g.DrawTextureParts(texture.ID, locations,
|
||||
geometryMatrix, matrix.IdentityColor())
|
||||
g.DrawRect(
|
||||
graphics.Rect{10, 5, 200, 200},
|
||||
graphics.Rect{10, 10, 50, 50},
|
||||
&color.RGBA{255, 128, 128, 128},
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user