| 1 |
< |
/* Copyright (c) 1986 Regents of the University of California */ |
| 2 |
< |
|
| 3 |
< |
/* SCCSid "$SunId$ LBL" */ |
| 4 |
< |
|
| 1 |
> |
/* RCSid $Id$ */ |
| 2 |
|
/* |
| 3 |
|
* cone.h - header file for cones (cones, cylinders, rings, cups, tubes). |
| 4 |
|
* |
| 10 |
|
* 2/12/86 |
| 11 |
|
*/ |
| 12 |
|
|
| 13 |
+ |
#include "copyright.h" |
| 14 |
+ |
|
| 15 |
|
typedef struct cone { |
| 16 |
|
FLOAT *ca; /* cone arguments (o->oargs.farg) */ |
| 17 |
|
char p0, p1; /* indices for endpoints */ |
| 27 |
|
#define CO_P0(co) ((co)->ca+(co)->p0) |
| 28 |
|
#define CO_P1(co) ((co)->ca+(co)->p1) |
| 29 |
|
|
| 30 |
+ |
#ifdef NOPROTO |
| 31 |
+ |
|
| 32 |
|
extern CONE *getcone(); |
| 33 |
+ |
extern void freecone(); |
| 34 |
+ |
extern void conexform(); |
| 35 |
+ |
|
| 36 |
+ |
#else |
| 37 |
+ |
|
| 38 |
+ |
extern CONE *getcone(OBJREC *o, int getxf); |
| 39 |
+ |
extern void freecone(OBJREC *o); |
| 40 |
+ |
extern void conexform(CONE *co); |
| 41 |
+ |
|
| 42 |
+ |
#endif |