53 |
|
if (readinp) |
54 |
|
close(atoi(fd0)); |
55 |
|
close(atoi(fd1)); |
56 |
+ |
/* check if outside */ |
57 |
+ |
if (vdef(OBSTRUCTIONS) && vbool(OBSTRUCTIONS)) |
58 |
+ |
disp_result(DS_OUTSECT, 0, NULL); |
59 |
+ |
/* send eye separation if specified */ |
60 |
+ |
if (vdef(EYESEP)) { |
61 |
+ |
char fbuf[32]; |
62 |
+ |
sprintf(fbuf, "%.9e", vflt(EYESEP)); |
63 |
+ |
disp_result(DS_EYESEP, strlen(fbuf)+1, fbuf); |
64 |
+ |
} |
65 |
|
/* write out hologram grids */ |
66 |
|
for (i = 0; hdlist[i] != NULL; i++) |
67 |
|
disp_result(DS_ADDHOLO, sizeof(HDGRID), (char *)hdlist[i]); |