--- ray/src/gen/genmarble.c 2003/02/22 02:07:23 2.5 +++ ray/src/gen/genmarble.c 2003/06/08 12:03:09 2.6 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: genmarble.c,v 2.5 2003/02/22 02:07:23 greg Exp $"; +static const char RCSid[] = "$Id: genmarble.c,v 2.6 2003/06/08 12:03:09 schorsch Exp $"; #endif /* * genmarble.c - generate a marble with bubbles inside. @@ -19,7 +19,8 @@ static const char RCSid[] = "$Id: genmarble.c,v 2.5 20 typedef double FVECT[3]; -double bubble(); /* pretty cute, huh? */ +static double bubble(); /* pretty cute, huh? */ +static void sphere_cart(); main(argc, argv) @@ -67,7 +68,7 @@ char **argv; } -double +static double bubble(v, cent, rad, bubrad) /* compute location of random bubble */ FVECT v, cent; double rad, bubrad; @@ -84,6 +85,7 @@ double rad, bubrad; } +static void sphere_cart(v, ro, theta, phi) /* spherical to cartesian coord. conversion */ FVECT v; double ro, theta, phi;