aboutsummaryrefslogtreecommitdiff
path: root/src/phys
diff options
context:
space:
mode:
Diffstat (limited to 'src/phys')
-rw-r--r--src/phys/world.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/phys/world.odin b/src/phys/world.odin
index 70309b5..5207622 100644
--- a/src/phys/world.odin
+++ b/src/phys/world.odin
@@ -4,7 +4,7 @@ import "core:log"
import "core:math"
import "core:math/linalg"
-import rl "vendor:raylib"
+import "../fw"
BIN_COUNT :: 2056
BIN_SIZE :: 64
@@ -191,7 +191,7 @@ get_colliding_bodies :: proc(
}
update_body :: proc(h: Body_Handle) {
- dt := rl.GetFrameTime()
+ dt := f32(fw.get_delta_time())
b := _get_body(h)