1 |
– |
/* Copyright (c) 1990 Regents of the University of California */ |
2 |
– |
|
1 |
|
#ifndef lint |
2 |
< |
static char SCCSid[] = "$SunId$ LBL"; |
2 |
> |
static const char RCSid[] = "$Id$"; |
3 |
|
#endif |
6 |
– |
|
4 |
|
/* Copyright (c) 1988 Regents of the University of California */ |
5 |
|
|
6 |
|
/* |
10 |
|
*/ |
11 |
|
|
12 |
|
#include <stdio.h> |
13 |
+ |
#include <stdlib.h> |
14 |
+ |
#include <math.h> |
15 |
|
|
16 |
|
#define MAXSTR 128 /* maximum string or id length */ |
17 |
|
#define MAXPTS 2048 /* maximum points per object */ |
19 |
– |
|
20 |
– |
#ifndef atof |
21 |
– |
extern double atof(); |
22 |
– |
#endif |
18 |
|
|
19 |
|
typedef struct { |
20 |
|
double x, y, z; |