summaryrefslogtreecommitdiff
path: root/examples/particles.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-12-15 17:59:09 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-12-15 17:59:09 -0500
commit8726cc42e3e7e5e6f34f7328898e35ed207bfb08 (patch)
treef2599a60f404b086c1054befa07106c3f6d1320d /examples/particles.scm
parent11cf5c63610e8bb858fa21ecea37196d9c8f17e4 (diff)
Switch to high resolution timer.
Diffstat (limited to 'examples/particles.scm')
-rw-r--r--examples/particles.scm2
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)))