metrowerks compatibility

This commit is contained in:
Wolfgang Thaller 2012-04-08 17:21:11 +02:00
parent 819d195c04
commit 7fb556dbb2
1 changed files with 5 additions and 1 deletions

View File

@ -12,9 +12,12 @@
#include <Fonts.h>
#include <NumberFormatting.h>
#ifdef __GNUC__
#include "MacUtils.h"
QDGlobals qd;
#else
#define PSTR(x) ("\p" x)
#endif
#endif
@ -25,6 +28,7 @@ QDGlobals qd;
#include <cstring>
#include <vector>
bool hitSphere(float x0, float y0, float z0, float dx, float dy, float dz, float& t)
{
const float xc = 0.0f, yc = 0.0f, zc = -6.0f, r = 1.0f;