-/* Sky Tentacles, Copyright (c) 2008 Jamie Zawinski <jwz@jwz.org>
+/* Sky Tentacles, Copyright (c) 2008-2012 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
fprintf(stderr, "%s: out of memory\n", progname);
exit(1);
}
-
- tc = &tcs[MI_SCREEN(mi)];
}
tc = &tcs[MI_SCREEN(mi)];
for (i = 0; i < MI_COUNT(mi); i++)
move_tentacle (make_tentacle (mi, i, MI_COUNT(mi)));
+# ifdef HAVE_JWZGLES /* #### glPolygonMode other than GL_FILL unimplemented */
+ cel_p = 0;
+# endif
+
if (wire) texture_p = cel_p = False;
if (cel_p) texture_p = False;
glEnable (GL_BLEND);
/* Dark gray instead of black, so the outlines show up */
- glClearColor (0.08, 0.08, 0.08, 1.0);
+ glClearColor (0.13, 0.13, 0.13, 1.0);
}
compute_unit_torus (mi, 0.5,
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glPushMatrix ();
-
+ glRotatef(current_device_rotation(), 0, 0, 1);
# if 1
glScalef (3, 3, 3);