made sure the windows back-pixmap is NULL
[gl-cairo-cube.git] / globals.h
blob864250477e618d1468a22b4e74160a1c7fa9294a
1 /*******************************************************************************
2 **3456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789
3 ** 10 20 30 40 50 60 70 80
4 **
5 ** file:
6 ** globals.h
7 **
8 ** author:
9 ** Mirco "MacSlow" Mueller <macslow@bangang.de>
11 ** copyright (C) Mirco Mueller, 2006/2007, placed under the terms of the GPL
13 *******************************************************************************/
15 #include <gtk/gtk.h>
16 #include <gtk/gtkgl.h>
17 #include <GL/gl.h>
19 #include "geometry.h"
20 #include "cairo-rendering.h"
22 #define FOVY_2 20.0
23 #define Z_NEAR 3.0
25 extern GTimer* g_pTimerId;
26 extern gint g_iWidth;
27 extern gint g_iHeight;
28 extern cairo_t* g_pCairoContext[];
29 extern guchar* g_pucSurfaceData[];
30 extern gulong g_ulMilliSeconds;
31 extern Line g_lineOne;
32 extern Line g_lineTwo;