path:
root/
src/
view/
exp004geometry.c (
plain)
blob: 76f39bb59884b4f6562a1615ed2b3e17058cae51
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#define GL_GLEXT_PROTOTYPES
#include "exp004geometry.h"
#include "exp004state0.h"
#include <GL/glut.h>
#define S exp004state0
void
exp004geometry (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;
}
|