ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/text.c
(Generate patch)

Comparing ray/src/rt/text.c (file contents):
Revision 2.21 by greg, Tue Feb 25 02:47:23 2003 UTC vs.
Revision 2.23 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 196 | Line 196 | register OBJREC  *tm;
196                  tlp = tlp->next;
197          } else {                                /* text file */
198                  if ((s = getpath(tm->oargs.sarg[tndx(tm)],
199 <                                getlibpath(), R_OK)) == NULL) {
199 >                                getrlibpath(), R_OK)) == NULL) {
200                          sprintf(errmsg, "cannot find text file \"%s\"",
201                                          tm->oargs.sarg[tndx(tm)]);
202                          error(USER, errmsg);
# Line 325 | Line 325 | register GLYPH  *gl;
325                                          /* positive x axis cross test */
326          while (n--) {
327                  if ((p0[1]<<1 > ylb) ^ (p1[1]<<1 > ylb)) {
328 <                        tv = p0[0]<<1 > xlb | (p1[0]<<1 > xlb) << 1;
328 >                        tv = (p0[0]<<1 > xlb) | ((p1[0]<<1 > xlb) << 1);
329                          if (tv == 03)
330                                  ncross++;
331                          else if (tv)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines