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

Comparing ray/src/cv/bsdf2ttree.c (file contents):
Revision 2.13 by greg, Sat Mar 23 02:21:14 2013 UTC vs.
Revision 2.14 by greg, Sat Mar 23 04:14:50 2013 UTC

# Line 122 | Line 122 | eval_isotropic(char *funame)
122                                                  /* run through directions */
123          for (ix = 0; ix < sqres/2; ix++) {
124                  RBFNODE *rbf = NULL;
125 <                iovec[0] = (ix+.5)/sqres - 1.;
125 >                iovec[0] = 2.*(ix+.5)/sqres - 1.;
126                  iovec[1] = .0;
127                  iovec[2] = input_orient * sqrt(1. - iovec[0]*iovec[0]);
128                  if (funame == NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines