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

Comparing ray/src/rt/rview.c (file contents):
Revision 1.20 by greg, Mon Aug 26 12:53:17 1991 UTC vs.
Revision 2.3 by greg, Thu Dec 19 14:54:46 1991 UTC

# Line 36 | Line 36 | double  shadcert = .25;                        /* shadow certainty */
36   int  directrelay = 0;                   /* number of source relays */
37   int  vspretest = 128;                   /* virtual source pretest density */
38   int  directinvis = 0;                   /* sources invisible? */
39 + double  srcsizerat = 0.;                /* maximum ratio source size/dist. */
40  
41   int  maxdepth = 4;                      /* maximum recursion depth */
42   double  minweight = 1e-2;               /* minimum ray weight */
# Line 169 | Line 170 | command(prompt)                        /* get/execute command */
170   char  *prompt;
171   {
172   #define  badcom(s)      strncmp(s, inpbuf, args-inpbuf-1)
172        double  atof();
173          char  inpbuf[256];
174          char  *args;
175   again:
# Line 222 | Line 222 | again:
222                  break;
223          case 'm':                               /* move camera */
224                  if (badcom("move"))
225 + #ifdef  MSTATS
226 +                {
227 +                        if (badcom("memory"))
228 +                                goto commerr;
229 +                        printmemstats(stderr);
230 +                        break;
231 +                }
232 + #else
233                          goto commerr;
234 + #endif
235                  getmove(args);
236                  break;
237          case 'r':                               /* rotate/repaint */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines