X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fextrusion-taper.c;h=8aa07ab0a03752b70d437f6c64d40f60d3f37d4b;hb=723c9eeee862766a1534b2ce17b78adbfac1c3be;hp=234853ee064bf31ba9479fd7298fe517950dceae;hpb=93f25dc6827112d98b8b855ea85c8f5eb8123086;p=xscreensaver diff --git a/hacks/glx/extrusion-taper.c b/hacks/glx/extrusion-taper.c index 234853ee..8aa07ab0 100644 --- a/hacks/glx/extrusion-taper.c +++ b/hacks/glx/extrusion-taper.c @@ -19,7 +19,7 @@ #include #include #include -#include +/*#include */ #ifdef HAVE_GLE3 #include #else @@ -55,8 +55,8 @@ #define NUM_PTS (25) -double contour [NUM_PTS][2]; -double norms [NUM_PTS][2]; +static double contour [NUM_PTS][2]; +static double norms [NUM_PTS][2]; static void init_contour (void) { @@ -94,11 +94,11 @@ static void init_contour (void) /* =========================================================== */ #define PSIZE 40 -double path[PSIZE][3]; -double twist[PSIZE]; -double taper[PSIZE]; +static double path[PSIZE][3]; +static double twist[PSIZE]; +static double taper[PSIZE]; -void init_taper (void) { +static void init_taper (void) { int j; double z, deltaz; double ang, dang; @@ -151,7 +151,7 @@ void InitStuff_taper (void) /* =========================================================== */ -void gleTaper (int ncp, +static void gleTaper (int ncp, gleDouble contour[][2], gleDouble cont_normal[][2], gleDouble up[3],