--- ray/src/hd/viewbeams.c 2003/04/23 00:52:34 3.3 +++ ray/src/hd/viewbeams.c 2003/06/20 00:25:49 3.4 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: viewbeams.c,v 3.3 2003/04/23 00:52:34 greg Exp $"; +static const char RCSid[] = "$Id: viewbeams.c,v 3.4 2003/06/20 00:25:49 greg Exp $"; #endif /* * Convert view to beam list. @@ -46,14 +46,14 @@ int hd, bi, nr; } -int2 * +int16 * viewbeams(vp, hr, vr, blp) /* convert view into sections/beams */ VIEW *vp; int hr, vr; BEAMLIST *blp; { - static int2 sectlist[HDMAX+1]; - int2 sectarr[MINRES+1][MINRES+1]; + static int16 sectlist[HDMAX+1]; + int16 sectarr[MINRES+1][MINRES+1]; double d0, d1, mindist; GCOORD gc[2]; FVECT rorg, rdir;