From 4456e2bc8b9c1ef9c1aa2e3509adc8f456bb5fdc Mon Sep 17 00:00:00 2001 From: a1xd <68629610+a1xd@users.noreply.github.com> Date: Tue, 30 Mar 2021 18:26:20 -0400 Subject: put utility in namespace --- driver/driver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver/driver.cpp') diff --git a/driver/driver.cpp b/driver/driver.cpp index 5b9eca4..49f375d 100644 --- a/driver/driver.cpp +++ b/driver/driver.cpp @@ -82,7 +82,7 @@ Arguments: counter_t ticks = now - devExt->counter; devExt->counter = now; milliseconds time = ticks * global.tick_interval; - return clampsd(time, global.args.time_min, 100); + return ra::clampsd(time, global.args.time_min, 100); }; global.modifier.apply_acceleration(input, time_supplier); @@ -99,7 +99,7 @@ Arguments: double carry_x = carried_result_x - out_x; double carry_y = carried_result_y - out_y; - if (!infnan(carry_x + carry_y)) { + if (!ra::infnan(carry_x + carry_y)) { devExt->carry.x = carried_result_x - out_x; devExt->carry.y = carried_result_y - out_y; it->LastX = out_x; -- cgit v1.2.3