Ray-caster: add a frame time monitor

It's time to start optimizing. Frame time is easy to measure, and we can
use it to gauge responsiveness.
This commit is contained in:
Aaron Fenyes 2024-08-26 23:39:51 -07:00
parent 5e9c5db231
commit ec48592ef1
2 changed files with 22 additions and 1 deletions

View file

@ -22,6 +22,7 @@ console_error_panic_hook = { version = "0.1.7", optional = true }
version = "0.3.69"
features = [
'HtmlCanvasElement',
'Performance',
'WebGl2RenderingContext',
'WebGlBuffer',
'WebGlProgram',