Update README.md
This commit is contained in:
parent
1a105edba8
commit
c3bf28eba4
1 changed files with 8 additions and 0 deletions
|
@ -16,3 +16,11 @@ This is a template for an emscripten project with a "Rust backend".
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
Just run `make` in the root of this project.
|
Just run `make` in the root of this project.
|
||||||
|
|
||||||
|
## Other Notes
|
||||||
|
|
||||||
|
The current set up of the update/draw loop uses
|
||||||
|
`emscripten_set_main_loop_arg(...)` with parameters that should call the
|
||||||
|
browser's `requestAnimationFrame` that should call `update` and `draw` once per
|
||||||
|
each frame at the fps that the browser decides, which should match the fps of
|
||||||
|
your display.
|
||||||
|
|
Loading…
Reference in a new issue