2 |
|
/* |
3 |
|
* ray.h - header file for routines using rays. |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_RAY_H_ |
6 |
+ |
#define _RAD_RAY_H_ |
7 |
+ |
#ifdef __cplusplus |
8 |
+ |
extern "C" { |
9 |
+ |
#endif |
10 |
|
|
11 |
+ |
|
12 |
|
#include "copyright.h" |
13 |
|
|
14 |
|
#include "standard.h" |
161 |
|
#define rpambmod(p,i) ( (i)>=AMBLLEN||(p)->amblndx[i]<0 ? \ |
162 |
|
(char *)NULL : (p)->amblval+(p)->amblndx[i] ) |
163 |
|
|
158 |
– |
#ifdef NOPROTO |
159 |
– |
|
160 |
– |
extern void headclean(); |
161 |
– |
extern void openheader(); |
162 |
– |
extern void dupheader(); |
163 |
– |
extern void pfdetach(); |
164 |
– |
extern void pfclean(); |
165 |
– |
extern void pflock(); |
166 |
– |
extern void pfhold(); |
167 |
– |
extern void io_process(); |
168 |
– |
extern int free_objs(); |
169 |
– |
extern void free_objmem(); |
170 |
– |
extern int load_os(); |
171 |
– |
extern void preload_objs(); |
172 |
– |
extern void ray_init(); |
173 |
– |
extern void ray_trace(); |
174 |
– |
extern void ray_done(); |
175 |
– |
extern void ray_save(); |
176 |
– |
extern void ray_restore(); |
177 |
– |
extern void ray_defaults(); |
178 |
– |
extern void ray_pinit(); |
179 |
– |
extern void ray_psend(); |
180 |
– |
extern int ray_pqueue(); |
181 |
– |
extern int ray_presult(); |
182 |
– |
extern void ray_pdone(); |
183 |
– |
extern void ray_popen(); |
184 |
– |
extern void ray_pclose(); |
185 |
– |
extern int rayorigin(); |
186 |
– |
extern void rayclear(); |
187 |
– |
extern void raytrace(); |
188 |
– |
extern void rayhit(); |
189 |
– |
extern void raycont(); |
190 |
– |
extern void raytrans(); |
191 |
– |
extern int rayshade(); |
192 |
– |
extern void rayparticipate(); |
193 |
– |
extern void raytexture(); |
194 |
– |
extern int raymixture(); |
195 |
– |
extern double raydist(); |
196 |
– |
extern double raynormal(); |
197 |
– |
extern void newrayxf(); |
198 |
– |
extern void flipsurface(); |
199 |
– |
extern int localhit(); |
200 |
– |
extern int getrenderopt(); |
201 |
– |
extern void print_rdefaults(); |
202 |
– |
extern void drawsources(); |
203 |
– |
extern void rtrace(); |
204 |
– |
extern void rview(); |
205 |
– |
extern void rpict(); |
206 |
– |
|
207 |
– |
#else |
164 |
|
/* defined in duphead.c */ |
165 |
|
extern void headclean(void); |
166 |
|
extern void openheader(void); |
218 |
|
extern void rview(void); |
219 |
|
extern void rpict(int seq, char *pout, char *zout, char *prvr); |
220 |
|
|
221 |
+ |
|
222 |
+ |
#ifdef __cplusplus |
223 |
+ |
} |
224 |
|
#endif |
225 |
+ |
#endif /* _RAD_RAY_H_ */ |
226 |
+ |
|