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.24 by greg, Thu Feb 12 18:55:50 2004 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include  "ray.h"
11  
12 + #include  "paths.h"
13 +
14   #include  "otypes.h"
15  
16   #include  "font.h"
# Line 196 | Line 198 | register OBJREC  *tm;
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);
# Line 325 | Line 327 | register GLYPH  *gl;
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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines