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

Comparing ray/src/cv/bsdfrbf.c (file contents):
Revision 2.15 by greg, Fri Nov 8 23:32:54 2013 UTC vs.
Revision 2.17 by greg, Mon Feb 17 21:56:22 2014 UTC

# Line 91 | Line 91 | add_bsdf_data(double theta_out, double phi_out, double
91   static void
92   comp_bsdf_min()
93   {
94 <        int     cnt;
95 <        int     i, target;
94 >        unsigned long   cnt, target;
95 >        int             i;
96  
97          cnt = 0;
98          for (i = HISTLEN; i--; )
# Line 151 | Line 151 | smooth_region(int x0, int x1, int y0, int y1)
151          rMtx[2][1] = rMtx[1][2];
152          nvs = rMtx[2][2];
153          if (SDinvXform(rMtx, rMtx) != SDEnone)
154 <                return(0);
154 >                return(1);              /* colinear values */
155          A = DOT(rMtx[0], xvec);
156          B = DOT(rMtx[1], xvec);
157          C = DOT(rMtx[2], xvec);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines