--- ray/src/common/cone.h 1991/11/12 16:54:18 2.1 +++ ray/src/common/cone.h 2003/02/25 02:47:21 2.3 @@ -1,7 +1,4 @@ -/* Copyright (c) 1986 Regents of the University of California */ - -/* SCCSid "$SunId$ LBL" */ - +/* RCSid $Id: cone.h,v 2.3 2003/02/25 02:47:21 greg Exp $ */ /* * cone.h - header file for cones (cones, cylinders, rings, cups, tubes). * @@ -13,6 +10,8 @@ * 2/12/86 */ +#include "copyright.h" + typedef struct cone { FLOAT *ca; /* cone arguments (o->oargs.farg) */ char p0, p1; /* indices for endpoints */ @@ -28,4 +27,16 @@ typedef struct cone { #define CO_P0(co) ((co)->ca+(co)->p0) #define CO_P1(co) ((co)->ca+(co)->p1) +#ifdef NOPROTO + extern CONE *getcone(); +extern void freecone(); +extern void conexform(); + +#else + +extern CONE *getcone(OBJREC *o, int getxf); +extern void freecone(OBJREC *o); +extern void conexform(CONE *co); + +#endif