summaryrefslogtreecommitdiffstats
Unidiff
-rw-r--r--r/connect.R2
-rw-r--r--src/Makefile.am3
-rw-r--r--src/controller/exp004reshape.c11
-rw-r--r--src/model/density_legend_geometry.c81
-rw-r--r--src/model/density_legend_geometry.h9
-rw-r--r--src/model/display_list_index.h6
-rw-r--r--src/model/exp004state.h14
-rw-r--r--src/util/check_error.c6
-rw-r--r--src/view/exp004geometry.c7
-rw-r--r--src/view/exp004init.c8
-rw-r--r--src/view/exp004view.c4
11 files changed, 124 insertions, 27 deletions
diff --git a/src/view/exp004geometry.c b/src/view/exp004geometry.c
index e7193fd..6f3bc17 100644
--- a/src/view/exp004geometry.c
+++ b/src/view/exp004geometry.c
@@ -21,13 +21,14 @@ exp004geometry (GLenum mode)
21 {21 {
22 glLoadName (i);22 glLoadName (i);
23 glPushMatrix ();23 glPushMatrix ();
24 glTranslatef (S.base_vertices_data[i][0], 24 glTranslatef (S.base_vertices_data[i][0],
25 S.base_vertices_data[i][1],25 S.base_vertices_data[i][1], 0.0);
26 0.0);
27 glColor4fv (S.base_colors_data[i]);26 glColor4fv (S.base_colors_data[i]);
28 glCallList (S.list_offset + PROTEIN_GEOMETRY);27 glCallList (S.list_offset + PROTEIN_GEOMETRY);
29 glPopMatrix ();28 glPopMatrix ();
30 }29 }
3130
31 glCallList (S.list_offset + DENSITY_LEGEND_GEOMETRY);
32
32 return;33 return;
33}34}

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.