summaryrefslogtreecommitdiffstats
Side-by-side diff
-rw-r--r--src/Makefile.am3
-rw-r--r--src/model/display_list_index.h6
-rw-r--r--src/model/exp004state.h6
-rw-r--r--src/model/protein_geometry.c21
-rw-r--r--src/model/protein_geometry.h9
-rw-r--r--src/view/exp004geometry.c21
-rw-r--r--src/view/exp004init.c3
-rw-r--r--src/view/exp004view.c2
8 files changed, 61 insertions, 10 deletions
diff --git a/src/model/exp004state.h b/src/model/exp004state.h
index d151966..1af8a5b 100644
--- a/src/model/exp004state.h
+++ b/src/model/exp004state.h
@@ -23,11 +23,17 @@
#define SELECT_COLOR_B 0.00
#define SELECT_COLOR_A 0.75
+typedef enum { PROTEIN_GEOMETRY } LISTS;
+
/*
* Maintain state of the model.
*/
typedef struct
{
+ /*
+ * Display lists.
+ */
+ unsigned int list_offset;
/*
* Track the bounding box of the points.

Valid XHTML 1.0 Strict

Copyright © 2009 Don Pellegrino All Rights Reserved.