18 files changed, 106 insertions, 47 deletions
diff --git a/src/controller/exp004processhits.c b/src/controller/exp004processhits.c index 72daa2f..c9ae080 100644 --- a/src/controller/exp004processhits.c +++ b/src/controller/exp004processhits.c @@ -1,6 +1,6 @@ #define GL_GLEXT_PROTOTYPES #include "../view/exp004state0.h" -#include "../model/map_geometry.h" +#include "../model/geometry/map_geometry.h" #include "exp004processhits.h" #include "selsave.h" @@ -14,7 +14,7 @@ * [Angel,2008,pp80-81]. */ void -exp004processhits (const GLint hits, const GLuint* hitlist) +exp004processhits (const GLint hits, const GLuint * hitlist) { for (unsigned int i = 0; i < hits; i++) { @@ -24,10 +24,12 @@ exp004processhits (const GLint hits, const GLuint* hitlist) * Add the hits to the selection. */ 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; S.base_colors_data[*hitlist][3] = SELECT_COLOR_A; + */ hitlist++; } |