diff options
author | David Thompson <dthompson2@worcester.edu> | 2020-12-15 17:59:09 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2020-12-15 17:59:09 -0500 |
commit | 8726cc42e3e7e5e6f34f7328898e35ed207bfb08 (patch) | |
tree | f2599a60f404b086c1054befa07106c3f6d1320d /examples/particles.scm | |
parent | 11cf5c63610e8bb858fa21ecea37196d9c8f17e4 (diff) |
Switch to high resolution timer.
Diffstat (limited to 'examples/particles.scm')
-rw-r--r-- | examples/particles.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/particles.scm b/examples/particles.scm index 97cdb1d..abefd94 100644 --- a/examples/particles.scm +++ b/examples/particles.scm @@ -49,7 +49,7 @@ (sleep 60) (set! stats-text (format #f "particles: ~d fps: ~1,2f" (particles-size particles) - (/ 1000.0 avg-frame-time)))))) + (/ 1.0 avg-frame-time)))))) (define stats-text-pos (vec2 4.0 (- window-height 16.0))) (define sprite-position (vec2 (center-x 128.0) (center-y 128.0))) |