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

Comparing ray/src/gen/mkillum2.c (file contents):
Revision 1.6 by greg, Thu Jul 25 12:52:18 1991 UTC vs.
Revision 1.7 by greg, Thu Jul 25 14:12:22 1991 UTC

# Line 111 | Line 111 | char  *nm;
111                      for (j = 0; j < 3; j++)
112                          org[j] += .001*fa->norm[j];
113                                          /* send sample */
114 <                    raysamp(distarr+dim[1]*nazi+dim[2], org, dir, rt);
114 >                    raysamp(distarr+3*(dim[1]*nazi+dim[2]), org, dir, rt);
115                  }
116          rayflush(rt);
117                                  /* write out the face w/ distribution */
# Line 179 | Line 179 | char  *nm;
179                          dir[j] = -dir[j];
180                      }
181                                          /* send sample */
182 <                    raysamp(distarr+dim[1]*nazi+dim[2], org, dir, rt);
182 >                    raysamp(distarr+3*(dim[1]*nazi+dim[2]), org, dir, rt);
183                  }
184              }
185          rayflush(rt);
# Line 243 | Line 243 | char  *nm;
243                                          .001*co->ad[j];
244  
245                                          /* send sample */
246 <                    raysamp(distarr+dim[1]*nazi+dim[2], org, dir, rt);
246 >                    raysamp(distarr+3*(dim[1]*nazi+dim[2]), org, dir, rt);
247                  }
248          rayflush(rt);
249                                  /* write out the ring w/ distribution */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines