--- ray/src/gen/genbeads.c 1989/02/02 11:16:24 1.1 +++ ray/src/gen/genbeads.c 2003/02/22 02:07:23 2.5 @@ -1,9 +1,6 @@ -/* Copyright (c) 1986 Regents of the University of California */ - #ifndef lint -static char SCCSid[] = "$SunId$ LBL"; +static const char RCSid[] = "$Id: genbeads.c,v 2.5 2003/02/22 02:07:23 greg Exp $"; #endif - /* * genbeads.c - generate a string of spheres using Hermite * curve specification. @@ -12,8 +9,9 @@ static char SCCSid[] = "$SunId$ LBL"; */ #include +#include +#include - char *mtype; /* material type */ char *name; /* name */ @@ -23,7 +21,6 @@ main(argc, argv) int argc; char **argv; { - double atof(); double p0[3], p1[3], r0[3], r1[3]; double rad, inc; @@ -65,7 +62,6 @@ double r1[3]; double rad; double inc; { - double sqrt(); register int i; double v[3]; double t;