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

Comparing ray/src/rt/o_cone.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:41:31 1989 UTC vs.
Revision 1.2 by greg, Wed Apr 19 22:24:25 1989 UTC

# Line 86 | Line 86 | register RAY  *r;
86                          r->rop[i] = r->rorg[i] + r->rdir[i]*r->rot;
87                  VCOPY(r->ron, co->ad);
88                  r->rod = -rdx[2];
89 +                r->rofs = 1.0; setident4(r->rofx);
90 +                r->robs = 1.0; setident4(r->robx);
91                  return(1);                              /* good */
92          }
93                                          /* roots for cone, cup, cyl., tube */
# Line 129 | Line 131 | register RAY  *r;
131                                  r->ron[i] = (co->al*r->ron[i] - c*co->ad[i])
132                                                  /co->sl;
133                  r->rod = -DOT(r->rdir, r->ron);
134 +                r->rofs = 1.0; setident4(r->rofx);
135 +                r->robs = 1.0; setident4(r->robx);
136                  return(1);                      /* good */
137          }
138          return(0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines