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.27 by greg, Wed Dec 21 09:52:03 1994 UTC vs.
Revision 2.31 by greg, Thu May 4 15:50:26 1995 UTC

# Line 286 | Line 286 | char  *s;
286          nv.type = ourview.type;
287          VCOPY(nv.vp, ourview.vp);
288          VCOPY(nv.vup, ourview.vup);
289        nv.hoff = ourview.hoff; nv.voff = ourview.voff;
289          nv.horiz = ourview.horiz; nv.vert = ourview.vert;
290 +        nv.vfore = ourview.vfore; nv.vaft = ourview.vaft;
291 +        nv.hoff = ourview.hoff; nv.voff = ourview.voff;
292          zoomview(&nv, zfact);
293          newview(&nv);
294   }
# Line 321 | Line 322 | char  *s;
322          VCOPY(nv.vp, ourview.vp);
323          VCOPY(nv.vup, ourview.vup);
324          nv.hoff = ourview.hoff; nv.voff = ourview.voff;
325 +        nv.vfore = ourview.vfore; nv.vaft = ourview.vaft;
326          spinvector(nv.vdir, ourview.vdir, ourview.vup, angle*(PI/180.));
327          if (elev != 0.0) {
328                  fcross(v1, nv.vdir, ourview.vup);
# Line 505 | Line 507 | register char  *s;
507          
508          if (s[0] == '\0') {
509                  (*dev->comout)(
510 <                "aa ab ad ar as av b dc di dj ds dt i lr lw ps pt sj st bv: ");
510 >                "aa ab ad ar as av b dc dv dj ds dt i lr lw ps pt sj st bv: ");
511                  (*dev->comin)(buf, NULL);
512                  s = buf;
513          }
# Line 550 | Line 552 | register char  *s;
552                          getparam(s+2, "back face visibility", 'b', &backvis);
553                          break;
554                  case '\0':                      /* black and white */
555 +                case ' ':
556                  case 'y': case 'Y': case 't': case 'T': case '1': case '+':
557                  case 'n': case 'N': case 'f': case 'F': case '0': case '-':
558                          getparam(s+1, "black and white", 'b', &greyscale);
# Line 672 | Line 675 | char  *s;
675                  if (thisray.rot >= FHUGE)
676                          (*dev->comout)("at infinity");
677                  else {
678 <                        sprintf(buf, "at (%.6g %.6g %.6g)", thisray.rop[0],
679 <                                        thisray.rop[1], thisray.rop[2]);
678 >                        sprintf(buf, "at (%.6g %.6g %.6g) (%.6g)",
679 >                                        thisray.rop[0], thisray.rop[1],
680 >                                        thisray.rop[2], thisray.rt);
681                          (*dev->comout)(buf);
682                  }
683                  (*dev->comin)(buf, NULL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines