116 |
|
void (*trace)() = NULL; /* trace call */ |
117 |
|
|
118 |
|
extern void ambnotify(); |
119 |
< |
void (*addobjnotify[])() = {ambnotify, NULL}; |
119 |
> |
void (*addobjnotify[8])() = {ambnotify, NULL}; |
120 |
|
|
121 |
|
int do_irrad = 0; /* compute irradiance? */ |
122 |
|
|
163 |
|
if (ofun[OBJ_SPHERE].funp == o_default) |
164 |
|
initotypes(); |
165 |
|
/* initialize urand */ |
166 |
< |
if (urperm == NULL) |
167 |
< |
initurand(2048); |
166 |
> |
initurand(2048); |
167 |
|
/* read scene octree */ |
168 |
|
readoct(octname = otnm, ~(IO_FILES|IO_INFO), &thescene, NULL); |
169 |
|
nsceneobjs = nobjects; |