4 |
|
*/ |
5 |
|
#ifndef _RAD_RADOGL_H_ |
6 |
|
#define _RAD_RADOGL_H_ |
7 |
– |
#ifdef __cplusplus |
8 |
– |
extern "C" { |
9 |
– |
#endif |
7 |
|
|
11 |
– |
|
12 |
– |
#include "copyright.h" |
13 |
– |
|
8 |
|
#include "standard.h" |
9 |
|
#include <GL/glu.h> |
10 |
|
#include "color.h" |
12 |
|
#include "otypes.h" |
13 |
|
#include "lookup.h" |
14 |
|
|
15 |
+ |
#ifdef __cplusplus |
16 |
+ |
extern "C" { |
17 |
+ |
#endif |
18 |
+ |
|
19 |
|
#define MAXLIGHTS 8 /* number of OGL light sources */ |
20 |
|
|
21 |
|
#define MAXSPECEXP 128. /* maximum allowed specular exponent */ |
70 |
|
extern int o_default(OBJREC *o); |
71 |
|
extern int o_unsupported(OBJREC *o); |
72 |
|
extern MATREC *newmaterial(char *nam); |
73 |
< |
extern void freemtl(MATREC *mp); |
73 |
> |
extern void freemtl(void *p); |
74 |
|
extern int m_normal(OBJREC *o); |
75 |
|
extern int m_aniso(OBJREC *o); |
76 |
|
extern int m_glass(OBJREC *o); |