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

Comparing ray/src/hd/rhdisp2.c (file contents):
Revision 3.12 by gregl, Thu Dec 11 09:36:59 1997 UTC vs.
Revision 3.14 by gregl, Fri Dec 12 12:30:20 1997 UTC

# Line 13 | Line 13 | static char SCCSid[] = "$SunId$ SGI";
13   #include "rhdriver.h"
14  
15   #ifndef MAXDIST
16 < #define MAXDIST         13      /* maximum distance outside section */
16 > #define MAXDIST         42      /* maximum distance outside section */
17   #endif
18  
19   extern GCOORD   *getviewcells();
# Line 484 | Line 484 | VIEW   *vn;
484          VOXL    vlnew[8];
485          int     n, comn;
486  
487 <        if (!vn->type) {                /* clear our beam list */
487 >        if (vn == NULL || !vn->type) {  /* clear our beam list */
488                  set_voxels(vlnew, 0);
489                  cbeamop(DR_DELSET, cbeam, ncbeams, NULL, 0, 0);
490                  ncbeams = 0;
491 <                copystruct(&dvw, vn);
491 >                dvw.type = 0;
492                  return(1);
493          }
494                                          /* find our new voxels */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines