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

Comparing ray/src/px/xshowtrace.c (file contents):
Revision 2.11 by greg, Tue Apr 19 18:44:22 2005 UTC vs.
Revision 2.13 by greg, Fri Apr 11 20:27:23 2014 UTC

# Line 15 | Line 15 | static const char      RCSid[] = "$Id$";
15  
16   #define MAXDEPTH        32              /* ridiculous ray tree depth */
17  
18 < #ifdef  SMLFLT
19 < #define  sscanvec(s,v)  (sscanf(s,"%f %f %f",v,v+1,v+2)==3)
20 < #else
21 < #define  sscanvec(s,v)  (sscanf(s,"%lf %lf %lf",v,v+1,v+2)==3)
22 < #endif
18 > #define  sscanvec(s,v)  (sscanf(s,FVFORMAT,v,v+1,v+2)==3)
19  
20   char    rtcom[64] = "rtrace -h- -otp -fa -x 1";
21   char    xicom[] = "ximage -c 256";
# Line 71 | Line 67 | main(          /* takes both the octree and the image */
67                  else
68                          break;
69          if (i > argc-2) {
70 <                fprintf(stderr, "Usage: %s [-s] [rtrace args] octree picture\n",
70 >                fprintf(stderr, "Usage: %s [-s][-T] [rtrace args] octree picture\n",
71                                  progname);
72                  exit(1);
73          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines