diff options
Diffstat (limited to 'src/math.odin')
| -rw-r--r-- | src/math.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math.odin b/src/math.odin index 131da63..bfc0013 100644 --- a/src/math.odin +++ b/src/math.odin @@ -16,6 +16,6 @@ dt_lerp_f32 :: proc(a: f32, b: f32, t: f32) -> f32 { } dt_lerp_arr :: proc(a: [$N]$T, b: [N]T, t: T) -> [N]T { - dt := rl.GetFrameTime() + dt := T(fw.get_delta_time()) return linalg.lerp(b, a, math.pow(0.5, dt * t)) } |
