mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-12 10:31:01 +00:00
metrowerks compatibility
This commit is contained in:
parent
819d195c04
commit
7fb556dbb2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user