summaryrefslogtreecommitdiffstats
path: root/src/math/func.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-04-28 22:56:07 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-04-28 22:56:07 +0200
commitb5b9fdb6803f5c5c70a39bd1abe65c6b651886a9 (patch)
treec8eb61f6cdcddd6aa08e2c63c505d5ca9e1798e1 /src/math/func.h
parent1c275dbd78c0c36905b921e889951762ef445e35 (diff)
downloadcolobot-b5b9fdb6803f5c5c70a39bd1abe65c6b651886a9.tar.gz
colobot-b5b9fdb6803f5c5c70a39bd1abe65c6b651886a9.tar.bz2
colobot-b5b9fdb6803f5c5c70a39bd1abe65c6b651886a9.zip
Structs continued
Diffstat (limited to 'src/math/func.h')
-rw-r--r--src/math/func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/func.h b/src/math/func.h
index 30ba2ae..d9a3c59 100644
--- a/src/math/func.h
+++ b/src/math/func.h
@@ -89,7 +89,7 @@ inline float Norm(float a)
//! Returns the absolute value
inline float Abs(float a)
{
- return (float)fabs(a);
+ return (float)std::fabs(a);
}
//! Swaps two integers