From 3d1d31538d30a7f161f9f2b6d5e075ec69d3b860 Mon Sep 17 00:00:00 2001 From: iamcheeseman <[hidden email]> Date: Tue, 3 Feb 2026 22:25:00 -0500 Subject: ditch raylib (icky, and for loser BEGINNERS) --- src/math.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/math.odin') diff --git a/src/math.odin b/src/math.odin index 0cd2a27..131da63 100644 --- a/src/math.odin +++ b/src/math.odin @@ -3,7 +3,7 @@ package demonchime import "core:math" import "core:math/linalg" -import rl "vendor:raylib" +import "fw" dt_lerp :: proc { dt_lerp_f32, @@ -11,7 +11,7 @@ dt_lerp :: proc { } dt_lerp_f32 :: proc(a: f32, b: f32, t: f32) -> f32 { - dt := rl.GetFrameTime() + dt := f32(fw.get_delta_time()) return math.lerp(b, a, math.pow(0.5, dt * t)) } -- cgit v1.3-2-g0d8e