# | Line 70 | Line 70 | main( /* compute illum distributions using rtrace */ | |
---|---|---|
70 | /* set up rendering defaults */ | |
71 | dstrsrc = 0.5; | |
72 | directrelay = 3; | |
73 | – | directvis = 0; |
73 | ambounce = 2; | |
74 | /* get options from command line */ | |
75 | for (i = 1; i < argc; i++) { | |
# | Line 172 | Line 171 | char *s; | |
171 | { | |
172 | if (warnings) | |
173 | eputs(s); | |
174 | + | } |
175 | + | |
176 | + | |
177 | + | void |
178 | + | quit(ec) /* make sure exit is called */ |
179 | + | int ec; |
180 | + | { |
181 | + | if (ray_pnprocs > 0) /* close children if any */ |
182 | + | ray_pclose(0); |
183 | + | exit(ec); |
184 | } | |
185 | ||
186 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |