aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/math/vertex.h
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-13 14:40:32 +0000
committerFilippos Karapetis2010-10-13 14:40:32 +0000
commita3d3e94a8d37240353502e60a0cfa19c44c4fd38 (patch)
tree8d06f1bb54afc303a4559c9cf241a722ee3a19a3 /engines/sword25/math/vertex.h
parent090540504db7633bb30fc257a4186b82beb36a0d (diff)
downloadscummvm-rg350-a3d3e94a8d37240353502e60a0cfa19c44c4fd38.tar.gz
scummvm-rg350-a3d3e94a8d37240353502e60a0cfa19c44c4fd38.tar.bz2
scummvm-rg350-a3d3e94a8d37240353502e60a0cfa19c44c4fd38.zip
SWORD25: Extended Mac OSX compilation fix for sqrtf and atan2f
svn-id: r53426
Diffstat (limited to 'engines/sword25/math/vertex.h')
-rw-r--r--engines/sword25/math/vertex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword25/math/vertex.h b/engines/sword25/math/vertex.h
index f9d9a0ff65..23afb374b8 100644
--- a/engines/sword25/math/vertex.h
+++ b/engines/sword25/math/vertex.h
@@ -59,6 +59,8 @@
#define powf(x,y) ((float)pow(x,y))
#define floorf(x) ((float)floor(x))
#define fabsf(x) ((float)fabs(x))
+#define sqrtf(x) ((float)sqrt(x))
+#define atan2f(x) ((float)atan2(x))
#endif
namespace Lua {