From: mfranz Date: Sun, 30 Jul 2006 08:08:51 +0000 (+0000) Subject: remove temporary fix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a832d0d076e6dd85981d2aba7b1fbf7bd31418a;p=flightgear.git remove temporary fix --- 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. :-)