--- ray/src/common/plocate.c 1989/02/02 10:33:05 1.1 +++ ray/src/common/plocate.c 2003/02/25 02:47:21 2.3 @@ -1,22 +1,21 @@ -/* Copyright (c) 1986 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: plocate.c,v 2.3 2003/02/25 02:47:21 greg Exp $"; #endif - /* * plocate.c - routine to locate 3D vector w.r.t. box. - * - * 8/28/85 */ +#include "copyright.h" + +#include "fvect.h" + #include "plocate.h" int plocate(p, min, max) /* return location of p w.r.t. min & max */ -register double p[3]; -double min[3], max[3]; +register FVECT p; +FVECT min, max; { register int loc = 0;