From b357dd7ac3109020b81b224de6a1bc3e9a436ede Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 22 May 2011 16:30:18 +0100 Subject: [PATCH] Remove remaining use of fabsf() from the code, avoid an OSG header issue on OS-X. --- src/Instrumentation/HUD/HUD.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/HUD/HUD.hxx b/src/Instrumentation/HUD/HUD.hxx index 8539330f1..0ac07389e 100644 --- a/src/Instrumentation/HUD/HUD.hxx +++ b/src/Instrumentation/HUD/HUD.hxx @@ -269,7 +269,7 @@ public: _offset = n->getFloatValue("offset", offset); _min = n->getFloatValue("min", min); _max = n->getFloatValue("max", max); - _coeff = 1.0 - 1.0 / powf(10, fabsf(n->getFloatValue("damp", 0.0))); + _coeff = 1.0 - 1.0 / powf(10, fabs(n->getFloatValue("damp", 0.0))); SGPropertyNode *p = ((SGPropertyNode *)n)->getNode("property", false); if (p) { const char *path = p->getStringValue(); -- 2.39.5