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

Comparing ray/src/rt/o_face.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:41:32 1989 UTC vs.
Revision 1.2 by greg, Tue Feb 21 14:56:20 1989 UTC

# Line 41 | Line 41 | register RAY  *r;
41          if (rdot <= FTINY && rdot >= -FTINY)    /* ray parallels plane */
42                  t = FHUGE;
43          else
44 <                t = (DOT(r->rorg, f->norm) - f->const) / rdot;
44 >                t = (DOT(r->rorg, f->norm) - f->offset) / rdot;
45          
46          if (t <= FTINY || t >= r->rot)          /* not good enough */
47                  return(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines