4 |
|
*/ |
5 |
|
#ifndef _RAD_MKILLUM_H_ |
6 |
|
#define _RAD_MKILLUM_H_ |
7 |
– |
#ifdef __cplusplus |
8 |
– |
extern "C" { |
9 |
– |
#endif |
7 |
|
|
11 |
– |
|
8 |
|
#include "standard.h" |
9 |
|
#include "object.h" |
14 |
– |
#include "otypes.h" |
10 |
|
#include "rtprocess.h" |
11 |
|
|
12 |
+ |
#ifdef __cplusplus |
13 |
+ |
extern "C" { |
14 |
+ |
#endif |
15 |
|
/* illum flags */ |
16 |
|
#define IL_LIGHT 0x1 /* light rather than illum */ |
17 |
|
#define IL_COLDST 0x2 /* use color distribution */ |
38 |
|
int nrays; /* current length of rtrace buffer */ |
39 |
|
}; /* rtrace process */ |
40 |
|
|
41 |
+ |
extern void printobj(char *mod, register OBJREC *obj); |
42 |
+ |
extern int average(register struct illum_args *il, float *da, int n); |
43 |
+ |
extern void flatout(struct illum_args *il, float *da, int n, int m, |
44 |
+ |
FVECT u, FVECT v, FVECT w); |
45 |
+ |
extern void illumout(register struct illum_args *il, OBJREC *ob); |
46 |
+ |
extern void roundout(struct illum_args *il, float *da, int n, int m); |
47 |
|
|
48 |
|
#ifdef __cplusplus |
49 |
|
} |
50 |
|
#endif |
51 |
+ |
|
52 |
+ |
#define FUN_ARGLIST OBJREC *, struct illum_args *, struct rtproc *, char * |
53 |
+ |
#include "otypes.h" |
54 |
+ |
|
55 |
|
#endif /* _RAD_MKILLUM_H_ */ |
56 |
|
|