#define GL_GLEXT_PROTOTYPES #include "geometry.h" #include "state0.h" #include #define S state0 void geometry (GLenum mode) { glMatrixMode (GL_MODELVIEW); glLoadIdentity (); /* * Draw the map. */ glCallList (S.list_offset + MAP_GEOMETRY); /* * Draw the legend. */ if (S.legend) glCallList (S.list_offset + DENSITY_LEGEND_GEOMETRY); return; }