From a2c45b292240e0fdc867f6796ac67683542aeee1 Mon Sep 17 00:00:00 2001 From: Don Pellegrino Date: Thu, 18 Jun 2009 21:14:23 +0000 Subject: Implemented zooming. --- diff --git a/src/controller/exp004processhits.c b/src/controller/exp004processhits.c index ba551f3..84f8b8d 100644 --- a/src/controller/exp004processhits.c +++ b/src/controller/exp004processhits.c @@ -3,7 +3,7 @@ #define GL_GLEXT_PROTOTYPES #include "exp004processhits.h" -#include "selection_to_db.h" +#include "selsave.h" #include "../view/exp004state0.h" #include @@ -35,7 +35,7 @@ exp004processhits (GLint hits, GLuint buffer[]) /* * Add the hits to the selection. */ - S.selection[*hitlist] = true; + S.selection.set[*hitlist] = true; S.base_colors_data[*hitlist][0] = SELECT_COLOR_R; S.base_colors_data[*hitlist][1] = SELECT_COLOR_G; S.base_colors_data[*hitlist][2] = SELECT_COLOR_B; @@ -44,7 +44,7 @@ exp004processhits (GLint hits, GLuint buffer[]) hitlist++; } - selection_to_db (); + selsave (); glBindBuffer (GL_ARRAY_BUFFER, S.buffers[BASE_COLORS]); glColorPointer (4, GL_FLOAT, 0, 0); -- cgit v0.8.3.1-22-g547a