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

Comparing ray/src/rt/rv2.c (file contents):
Revision 2.50 by greg, Mon Jun 13 20:07:56 2005 UTC vs.
Revision 2.52 by greg, Thu Jun 16 01:55:44 2005 UTC

# Line 522 | Line 522 | setparam(                              /* get/set program parameter */
522          
523          if (s[0] == '\0') {
524                  (*dev->comout)(
525 <                "aa ab ad ar as av aw b dc dv dj ds dt i lr lw me ma mg ms ps pt R sj st bv: ");
525 >                "aa ab ad ar as av aw b bv dc dv dj ds dt i lr lw me ma mg ms ps pt sj st u: ");
526                  (*dev->comin)(buf, NULL);
527                  s = buf;
528          }
529          switch (s[0]) {
530 <        case 'R':                       /* random sampling */
531 <                getparam(s+1, "random sampling", 'b',
530 >        case 'u':                       /* uncorrelated sampling */
531 >                getparam(s+1, "uncorrelated sampling", 'b',
532                                  (void *)&rand_samp);
533                  break;
534          case 'l':                       /* limit */
# Line 731 | Line 731 | char  *s;
731                  (*dev->comout)("ray hit nothing");
732          else {
733                  OBJREC  *mat = NULL;
734 <                OBJREC  *mod = NULL;;
734 >                OBJREC  *mod = NULL;
735                  char    matspec[256];
736                  matspec[0] = '\0';
737                  if (thisray.ro->omod != OVOID) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines