From 6a832d0d076e6dd85981d2aba7b1fbf7bd31418a Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 30 Jul 2006 08:08:51 +0000 Subject: [PATCH] remove temporary fix --- src/Cockpit/hud.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Cockpit/hud.hxx b/src/Cockpit/hud.hxx index fe36c250f..3964bacd5 100644 --- a/src/Cockpit/hud.hxx +++ b/src/Cockpit/hud.hxx @@ -69,8 +69,7 @@ SG_USING_STD(deque); SG_USING_STD(vector); SG_USING_NAMESPACE(std); -//#define float_to_int(v) SGMiscf::roundToInt(v) -#define float_to_int(v) int(floorf(v + 0.5f)) +#define float_to_int(v) SGMiscf::roundToInt(v) // some of Norman's crazy optimizations. :-) -- 2.39.5