There is a Ticker::run func which runs a loop that calls a callback which then does rendering and calls event_loop.run_return to check for events such as key presses. A simple event_loop.run in the main thread could be used instead - the structure could match much more closely something like https://github.com/glium/glium/blob/master/examples/tutorial-01.rs
There is a
Ticker::runfunc which runs a loop that calls a callback which then does rendering and callsevent_loop.run_returnto check for events such as key presses. A simpleevent_loop.runin the main thread could be used instead - the structure could match much more closely something like https://github.com/glium/glium/blob/master/examples/tutorial-01.rs