X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fbubble3d.h;h=95af754bcef38dfebfe829067e2c6ebea6427e2b;hp=f8b4c69740367949ab029c0f688bf5a485447ace;hb=3f438031d610c7e15fd33876a879b97e290e05fb;hpb=447db08c956099b3b183886729108bf5b364c4b8 diff --git a/hacks/glx/bubble3d.h b/hacks/glx/bubble3d.h index f8b4c697..95af754b 100644 --- a/hacks/glx/bubble3d.h +++ b/hacks/glx/bubble3d.h @@ -20,13 +20,12 @@ * implementation. If you have an accelerated * graphics card, set this to 0. */ -#define GLB_USE_BLENDING 0 /* Use alpha feature to create see-through - * bubbles. - */ #define GLB_VERTICES_EPSILON 0.0005 /* How close are identical vertices? */ /* Configuration structure. */ struct glb_config { + int transparent_p; /* Whether to use alpha blending */ + int subdivision_depth; /* Controls how many triangles are in * each bubble. 2 and 3 are good values. */ @@ -60,6 +59,8 @@ struct glb_config { GLfloat screen_top; /* Top of screen. */ GLfloat bg_colour[4]; /* Background colour. */ GLfloat bubble_colour[4]; /* Colour of the bubbles. */ + + int polygon_count; }; extern struct glb_config glb_config;