ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-4.22.tar.gz
[xscreensaver] / hacks / glx / bubble3d.h
index f8b4c69740367949ab029c0f688bf5a485447ace..95af754bcef38dfebfe829067e2c6ebea6427e2b 100644 (file)
                                   * 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;