Add delta value between frames

This commit is contained in:
2022-10-24 06:42:58 -04:00
parent 987ef9502f
commit 9ccd2cf2cb
12 changed files with 32 additions and 23 deletions

View File

@ -8,7 +8,7 @@ type Renderer2D interface {
DrawTexture2D(DrawTexture2DInput) error
Draw() error
Update() error
Update(delta float64) error
Destroy()
SetCamera(*Camera2D) error
}