--- ray/src/px/warp3d.c 2004/03/28 20:33:14 3.7 +++ ray/src/px/warp3d.c 2010/09/03 21:18:15 3.9 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: warp3d.c,v 3.7 2004/03/28 20:33:14 schorsch Exp $"; +static const char RCSid[] = "$Id: warp3d.c,v 3.9 2010/09/03 21:18:15 greg Exp $"; #endif /* * 3D warping routines. @@ -33,7 +33,6 @@ static int get3dgpt(W3VEC ov, GNDX ndx, WARP3D *wp); static int get3dgin(W3VEC ov, GNDX ndx, W3VEC rem, WARP3D *wp); static void l3interp(W3VEC vo, W3VEC *cl, W3VEC dv, int n); static int warp3dex(W3VEC ov, W3VEC pi, WARP3D *wp); -//static unsigned long gridhash(void *gp); static lut_hashf_t gridhash; static int new3dgrid(WARP3D *wp); static void done3dgrid(struct grid3d *gp); @@ -366,12 +365,10 @@ free3dw( /* free WARP3D data */ static unsigned long gridhash( /* hash a grid point index */ - //GNDX gp - void *gp + const void *gp ) { - //return(((unsigned long)gp[0]<