| 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 */ |
| 56 |
|
extern int newglist(void); |
| 57 |
|
extern void rgl_checkerr(char *where); |
| 58 |
|
extern int rgl_filelist(int ic, char **inp, int *nl); |
| 59 |
< |
extern int rgl_octlist(char *fname, FVECT cent, FLOAT *radp, int *nl); |
| 59 |
> |
extern int rgl_octlist(char *fname, FVECT cent, RREAL *radp, int *nl); |
| 60 |
|
extern void rgl_load(char *inpspec); |
| 61 |
|
extern void rgl_object(char *name, FILE *fp); |
| 62 |
|
/* defined in rglinst.c */ |