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

Comparing ray/src/util/glarendx.c (file contents):
Revision 2.11 by greg, Fri Apr 11 20:27:23 2014 UTC vs.
Revision 2.12 by greg, Mon Apr 2 16:45:41 2018 UTC

# Line 207 | Line 207 | read_input(void)                       /* read glare sources from stdin */
207                                  goto memerr;
208                          if (sscanf(buf, FVFORMAT, &gs->dir[0], &gs->dir[1],
209                                                  &gs->dir[2]) != 3 ||
210 <                                        sscanf(buf, "%lf %lf",
210 >                                        sscanf(sskip2(buf, 3), "%lf %lf",
211                                                  &gs->dom, &gs->lum) != 2)
212                                  goto readerr;
213                          normalize(gs->dir);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines