summaryrefslogtreecommitdiffstats
Side-by-side diff
-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/exp004view.c b/src/view/exp004view.c
index 68a4e79..33198ad 100644
--- a/src/view/exp004view.c
+++ b/src/view/exp004view.c
@@ -4,7 +4,6 @@
#include "../controller/keyboard.h"
#include "../db/dbconnect.h"
#include "../model/exp004base.h"
-#include "../model/protein_geometry.h"
#include "exp004init.h"
#include "exp004state0.h"
#include "exp004view.h"
@@ -25,7 +24,7 @@ exp004view (void)
glClearColor (CLEAR_COLOR);
glColor3f (DRAW_COLOR);
glEnable (GL_AUTO_NORMAL);
- glEnable (GL_DEPTH_TEST);
+ glDisable (GL_DEPTH_TEST);
glEnable (GL_MAP1_VERTEX_3);
glShadeModel (GL_SMOOTH);
@@ -43,7 +42,6 @@ exp004view (void)
// Initialize the model.
exp004base ();
exp004init ();
- protein_geometry ();
// Callbacks (Controllers)
glutDisplayFunc (exp004display);

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.