refactor options to use Time.time to track when key is pressed, instead of using a Real.real value
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user