12 |
|
|
13 |
|
#include "platform.h" |
14 |
|
#include "ray.h" |
15 |
– |
#include "func.h" |
15 |
|
#include "source.h" |
16 |
|
#include "ambient.h" |
17 |
|
#include "rpaint.h" |
18 |
|
#include "random.h" |
20 |
– |
#include "paths.h" |
19 |
|
#include "view.h" |
20 |
|
#include "pmapray.h" |
21 |
|
|
24 |
– |
extern char *progname; /* global argv[0] */ |
25 |
– |
|
22 |
|
VIEW ourview = STDVIEW; /* viewing parameters */ |
23 |
|
int hresolu, vresolu; /* image resolution */ |
24 |
|
|
91 |
|
progname = argv[0] = fixargv0(argv[0]); |
92 |
|
/* set our defaults */ |
93 |
|
set_defaults(); |
98 |
– |
/* initialize calcomp routines */ |
99 |
– |
initfunc(); |
94 |
|
/* option city */ |
95 |
|
for (i = 1; i < argc; i++) { |
96 |
|
/* expand arguments */ |