aboutsummaryrefslogtreecommitdiff
path: root/src/utils.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.zig')
-rw-r--r--src/utils.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils.zig b/src/utils.zig
index bb9eb13..6f1e850 100644
--- a/src/utils.zig
+++ b/src/utils.zig
@@ -1,4 +1,5 @@
//----- Physics ---------------------------------------------------------------
+pub const bounce: f64 = 0.7; // energy dispersion when bouncing
pub const gravity: f64 = 9.807; // m/s²
pub const scale: f64 = 1.0 / 30.0; // 30 pixels == 1m
pub const frequency: f64 = 1.0 / 60.0; // 60 fps