aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-13 15:06:14 +0000
committerFilippos Karapetis2010-10-13 15:06:14 +0000
commit17f9913a2419c558276a191be07a45ba8f8fc87f (patch)
tree240e1139977b3cf837c449948945eff97bd411de /engines/sword25
parentfa8275f27b69b311c9c64dbb38b524e0c61006fe (diff)
downloadscummvm-rg350-17f9913a2419c558276a191be07a45ba8f8fc87f.tar.gz
scummvm-rg350-17f9913a2419c558276a191be07a45ba8f8fc87f.tar.bz2
scummvm-rg350-17f9913a2419c558276a191be07a45ba8f8fc87f.zip
SWORD25: Oops, atan2() takes two arguments
svn-id: r53429
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/math/vertex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/math/vertex.h b/engines/sword25/math/vertex.h
index 23afb374b8..24cd11a4e8 100644
--- a/engines/sword25/math/vertex.h
+++ b/engines/sword25/math/vertex.h
@@ -60,7 +60,7 @@
#define floorf(x) ((float)floor(x))
#define fabsf(x) ((float)fabs(x))
#define sqrtf(x) ((float)sqrt(x))
-#define atan2f(x) ((float)atan2(x))
+#define atan2f(x,y) ((float)atan2(x,y))
#endif
namespace Lua {