[Scummvm-cvs-logs] SF.net SVN: scummvm:[53426] scummvm/trunk/engines/sword25/math/vertex.h

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Oct 13 16:40:34 CEST 2010


Revision: 53426
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53426&view=rev
Author:   thebluegr
Date:     2010-10-13 14:40:32 +0000 (Wed, 13 Oct 2010)

Log Message:
-----------
SWORD25: Extended Mac OSX compilation fix for sqrtf and atan2f

Modified Paths:
--------------
    scummvm/trunk/engines/sword25/math/vertex.h

Modified: scummvm/trunk/engines/sword25/math/vertex.h
===================================================================
--- scummvm/trunk/engines/sword25/math/vertex.h	2010-10-13 14:33:47 UTC (rev 53425)
+++ scummvm/trunk/engines/sword25/math/vertex.h	2010-10-13 14:40:32 UTC (rev 53426)
@@ -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 {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list