mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 02:42:02 +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,
|
g.DrawTextureParts(texture.ID, locations,
|
||||||
geometryMatrix, matrix.IdentityColor())
|
geometryMatrix, matrix.IdentityColor())
|
||||||
g.DrawRect(
|
g.DrawRect(
|
||||||
graphics.Rect{10, 5, 200, 200},
|
graphics.Rect{10, 10, 50, 50},
|
||||||
&color.RGBA{255, 128, 128, 128},
|
&color.RGBA{255, 128, 128, 128},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user