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

Comparing ray/src/util/dctimestep.c (file contents):
Revision 2.41 by greg, Wed Aug 14 18:20:02 2019 UTC vs.
Revision 2.42 by greg, Wed Aug 14 21:00:14 2019 UTC

# Line 299 | Line 299 | main(int argc, char *argv[])
299                                          fprintf(ofp, "FRAME=%d\n", i);
300                                          fprintf(ofp, "NROWS=%d\n", rvec->nrows);
301                                          fputs("NCOLS=1\nNCOMP=3\n", ofp);
302 +                                        if ((outfmt == 'f') | (outfmt == 'd'))
303 +                                                fputendian(ofp);
304                                          fputformat((char *)cm_fmt_id[outfmt], ofp);
305                                          fputc('\n', ofp);
306                                  }
# Line 325 | Line 327 | main(int argc, char *argv[])
327                                  fprintf(ofp, "NROWS=%d\n", rmtx->nrows);
328                                  fprintf(ofp, "NCOLS=%d\n", rmtx->ncols);
329                                  fputs("NCOMP=3\n", ofp);
330 +                                if ((outfmt == 'f') | (outfmt == 'd'))
331 +                                        fputendian(ofp);
332                                  fputformat((char *)cm_fmt_id[outfmt], ofp);
333                                  fputc('\n', ofp);
334                          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines