6 |
|
#define _RAD_RADOGL_H_ |
7 |
|
|
8 |
|
#include "standard.h" |
9 |
< |
#include <GL/glu.h> |
9 |
> |
#ifdef __APPLE__ |
10 |
> |
#include <OpenGL/glu.h> |
11 |
> |
#else |
12 |
> |
#if defined(_WIN32) || defined(_WIN64) |
13 |
> |
#include <windows.h> |
14 |
> |
#endif |
15 |
> |
#include <GL/glu.h> |
16 |
> |
#endif |
17 |
|
#include "color.h" |
18 |
|
#include "object.h" |
19 |
|
#include "otypes.h" |
77 |
|
extern int o_default(OBJREC *o); |
78 |
|
extern int o_unsupported(OBJREC *o); |
79 |
|
extern MATREC *newmaterial(char *nam); |
80 |
< |
extern void freemtl(MATREC *mp); |
80 |
> |
extern void freemtl(void *p); |
81 |
|
extern int m_normal(OBJREC *o); |
82 |
|
extern int m_aniso(OBJREC *o); |
83 |
|
extern int m_glass(OBJREC *o); |