--- ray/src/common/clip.c 1993/12/19 22:49:28 2.2 +++ ray/src/common/clip.c 2003/02/25 02:47:21 2.4 @@ -1,15 +1,12 @@ -/* Copyright (c) 1993 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: clip.c,v 2.4 2003/02/25 02:47:21 greg Exp $"; #endif - /* * clip.c - routine to clip 3D line segments to a box. - * - * 8/28/85 */ +#include "copyright.h" + #include "fvect.h" #include "plocate.h" @@ -17,6 +14,7 @@ static char SCCSid[] = "$SunId$ LBL"; #define MAXITER 6 /* maximum possible number of iterations */ +int clip(ep1, ep2, min, max) /* clip a line segment to a box */ FLOAT *ep1, *ep2; FVECT min, max;