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.9 by greg, Mon Apr 6 18:04:19 1992 UTC vs.
Revision 2.11 by greg, Tue Oct 6 17:13:42 1992 UTC

# Line 186 | Line 186 | char  *s;
186   getaim(s)                               /* aim camera */
187   char  *s;
188   {
189        extern double  tan(), atan();
189          double  zfact;
190          VIEW  nv;
191  
# Line 217 | Line 216 | char  *s;
216   getrotate(s)                            /* rotate camera */
217   char  *s;
218   {
220        extern double  normalize(), tan(), atan();
219          VIEW  nv;
220          FVECT  v1;
221          double  angle, elev, zfact;
# Line 457 | Line 455 | register char  *s;
455          case 'a':                       /* ambient */
456                  switch (s[1]) {
457                  case 'v':                       /* value */
458 <                        getparam(s+2, "ambient value", 'C', ambval);
458 >                        getparam(s+2, "ambient value", 'C', (COLOR *)ambval);
459                          break;
460                  case 'a':                       /* accuracy */
461                          getparam(s+2, "ambient accuracy", 'r', &ambacc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines