mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-26 12:34:13 +00:00
metrowerks compatibility
This commit is contained in:
parent
819d195c04
commit
7fb556dbb2
@ -12,9 +12,12 @@
|
|||||||
#include <Fonts.h>
|
#include <Fonts.h>
|
||||||
#include <NumberFormatting.h>
|
#include <NumberFormatting.h>
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
#include "MacUtils.h"
|
#include "MacUtils.h"
|
||||||
|
|
||||||
QDGlobals qd;
|
QDGlobals qd;
|
||||||
|
#else
|
||||||
|
#define PSTR(x) ("\p" x)
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -25,6 +28,7 @@ QDGlobals qd;
|
|||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
bool hitSphere(float x0, float y0, float z0, float dx, float dy, float dz, float& t)
|
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;
|
const float xc = 0.0f, yc = 0.0f, zc = -6.0f, r = 1.0f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user