mirror of
https://github.com/stevenhowes/GoRetro.git
synced 2026-05-26 15:53:31 +01:00
Render sprites from sprite sheets (no animation yet)
This commit is contained in:
@@ -58,6 +58,8 @@ func (an *animator) onDraw() error {
|
||||
|
||||
return drawTexture(
|
||||
tex,
|
||||
VectorInt32{-1, -1},
|
||||
VectorInt32{0, 0},
|
||||
an.container.Position,
|
||||
an.container.Rotation,
|
||||
an.container.Renderer)
|
||||
|
||||
Reference in New Issue
Block a user