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.7 by greg, Tue Feb 18 16:38:51 1992 UTC vs.
Revision 2.8 by greg, Wed Mar 4 16:52:10 1992 UTC

# Line 386 | Line 386 | register char  *s;
386          extern double  shadcert;
387          extern COLOR  ambval;
388          extern double  ambacc;
389        extern double  minarad;
389          extern int  ambres;
390          extern int  ambdiv;
391          extern int  ambssamp;
# Line 464 | Line 463 | register char  *s;
463                          break;
464                  case 'r':
465                          if (getparam(s+2, "ambient resolution", 'i', &ambres))
466 <                                minarad = ambres > 0 ?
468 <                                                thescene.cusize/ambres : 0.0;
466 >                                setambres(ambres);
467                          break;
468                  default:
469                          goto badparam;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines