9 |
|
|
10 |
|
#include "ray.h" |
11 |
|
|
12 |
+ |
#include "paths.h" |
13 |
+ |
|
14 |
|
#include "otypes.h" |
15 |
|
|
16 |
|
#include "font.h" |
198 |
|
tlp = tlp->next; |
199 |
|
} else { /* text file */ |
200 |
|
if ((s = getpath(tm->oargs.sarg[tndx(tm)], |
201 |
< |
getlibpath(), R_OK)) == NULL) { |
201 |
> |
getrlibpath(), R_OK)) == NULL) { |
202 |
|
sprintf(errmsg, "cannot find text file \"%s\"", |
203 |
|
tm->oargs.sarg[tndx(tm)]); |
204 |
|
error(USER, errmsg); |
327 |
|
/* positive x axis cross test */ |
328 |
|
while (n--) { |
329 |
|
if ((p0[1]<<1 > ylb) ^ (p1[1]<<1 > ylb)) { |
330 |
< |
tv = p0[0]<<1 > xlb | (p1[0]<<1 > xlb) << 1; |
330 |
> |
tv = (p0[0]<<1 > xlb) | ((p1[0]<<1 > xlb) << 1); |
331 |
|
if (tv == 03) |
332 |
|
ncross++; |
333 |
|
else if (tv) |