refactor options to use Time.time to track when key is pressed, instead of using a Real.real value

This commit is contained in:
2025-08-29 12:33:45 +01:00
parent 91bf6854ea
commit a58953e90d
4 changed files with 26 additions and 15 deletions

View File

@@ -303,7 +303,7 @@ struct
val _ = Gles3.clearColor (1.0, 1.0, 1.0, 1.0)
val _ = Gles3.clear ()
val time = Glfw.getTime ()
val time = Time.now ()
val input = InputState.getSnapshot ()
val game = GameUpdate.update (game, input, time)