| 2 |
|
/* |
| 3 |
|
* Miscellaneous definitions required by many routines. |
| 4 |
|
*/ |
| 5 |
– |
|
| 5 |
|
#ifndef _RAD_STANDARD_H_ |
| 6 |
|
#define _RAD_STANDARD_H_ |
| 7 |
+ |
#ifdef __cplusplus |
| 8 |
+ |
extern "C" { |
| 9 |
+ |
#endif |
| 10 |
|
|
| 11 |
|
#include "copyright.h" |
| 12 |
|
|
| 21 |
|
#include "platform.h" |
| 22 |
|
#include "mat4.h" |
| 23 |
|
|
| 24 |
+ |
|
| 25 |
+ |
#ifndef NULL |
| 26 |
+ |
#define NULL 0 |
| 27 |
+ |
#endif |
| 28 |
+ |
|
| 29 |
|
/* regular transformation */ |
| 30 |
|
typedef struct { |
| 31 |
|
MAT4 xfm; /* transform matrix */ |
| 210 |
|
extern void quit(int code); |
| 211 |
|
|
| 212 |
|
|
| 213 |
+ |
#ifdef __cplusplus |
| 214 |
+ |
} |
| 215 |
+ |
#endif |
| 216 |
|
#endif /* _RAD_STANDARD_H_ */ |
| 217 |
+ |
|