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

Comparing ray/src/gen/mksource.c (file contents):
Revision 2.7 by greg, Mon Aug 15 19:48:06 2011 UTC vs.
Revision 2.8 by greg, Thu Mar 6 00:42:21 2014 UTC

# Line 457 | Line 457 | mksources(TRITREE *samptree, double thresh, double max
457                                                  thisethresh);
458                          if (normalize(vsum) == .0)
459                                  break;
460 <                        movedist = acos(DOT(vsum,curcent));
460 >                        movedist = Acos(DOT(vsum,curcent));
461                          if (movedist > growstep) {
462                                  VSUB(vsum, vsum, curcent);
463                                  movedist = growstep/VLEN(vsum);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines