From a3d3e94a8d37240353502e60a0cfa19c44c4fd38 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 13 Oct 2010 14:40:32 +0000 Subject: SWORD25: Extended Mac OSX compilation fix for sqrtf and atan2f svn-id: r53426 --- engines/sword25/math/vertex.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/sword25/math/vertex.h') 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 { -- cgit v1.2.3