| 7 |
|
|
| 8 |
|
#include <signal.h> |
| 9 |
|
#include <ctype.h> |
| 10 |
– |
#include <stdio.h> |
| 10 |
|
|
| 12 |
– |
#include "standard.h" |
| 13 |
– |
#include "platform.h" |
| 11 |
|
#include "mkillum.h" |
| 12 |
+ |
#include "platform.h" |
| 13 |
|
|
| 14 |
|
/* default parameters */ |
| 15 |
|
#define SAMPDENS 48 /* points per projected steradian */ |
| 24 |
|
|
| 25 |
|
/* rtrace command and defaults */ |
| 26 |
|
char *rtargv[64] = { "rtrace", "-dj", ".25", "-dr", "3", "-dv-", |
| 27 |
< |
"-ab", "2", "-ad", "256", "-as", "128", "-aa", ".15", }; |
| 27 |
> |
"-ab", "2", "-ad", "1024", "-as", "512", "-aa", ".1", }; |
| 28 |
|
int rtargc = 14; |
| 29 |
|
/* overriding rtrace options */ |
| 30 |
|
char *myrtopts[] = { "-I-", "-i-", "-ld-", "-ov", "-h-", |
| 137 |
|
int rtstat; |
| 138 |
|
|
| 139 |
|
rtstat = close_process(&(rt.pd)); |
| 140 |
< |
if (status == 0) |
| 140 |
> |
if (status == 0) { |
| 141 |
|
if (rtstat < 0) |
| 142 |
|
error(WARNING, |
| 143 |
|
"unknown return status from rtrace process"); |
| 144 |
|
else |
| 145 |
|
status = rtstat; |
| 146 |
+ |
} |
| 147 |
|
exit(status); |
| 148 |
|
} |
| 149 |
|
|