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 @@ | |||
1 | #define GL_GLEXT_PROTOTYPES | 1 | #define GL_GLEXT_PROTOTYPES |
2 | #include "../view/exp004state0.h" | 2 | #include "../view/exp004state0.h" |
3 | #include "../model/map_geometry.h" | 3 | #include "../model/geometry/map_geometry.h" |
4 | #include "exp004processhits.h" | 4 | #include "exp004processhits.h" |
5 | #include "selsave.h" | 5 | #include "selsave.h" |
6 | 6 | ||
@@ -14,7 +14,7 @@ | |||
14 | * [Angel,2008,pp80-81]. | 14 | * [Angel,2008,pp80-81]. |
15 | */ | 15 | */ |
16 | void | 16 | void |
17 | exp004processhits (const GLint hits, const GLuint* hitlist) | 17 | exp004processhits (const GLint hits, const GLuint * hitlist) |
18 | { | 18 | { |
19 | for (unsigned int i = 0; i < hits; i++) | 19 | for (unsigned int i = 0; i < hits; i++) |
20 | { | 20 | { |
@@ -24,10 +24,12 @@ exp004processhits (const GLint hits, const GLuint* hitlist) | |||
24 | * Add the hits to the selection. | 24 | * Add the hits to the selection. |
25 | */ | 25 | */ |
26 | S.selection.set[*hitlist] = true; | 26 | S.selection.set[*hitlist] = true; |
27 | /* | ||
27 | S.base_colors_data[*hitlist][0] = SELECT_COLOR_R; | 28 | S.base_colors_data[*hitlist][0] = SELECT_COLOR_R; |
28 | S.base_colors_data[*hitlist][1] = SELECT_COLOR_G; | 29 | S.base_colors_data[*hitlist][1] = SELECT_COLOR_G; |
29 | S.base_colors_data[*hitlist][2] = SELECT_COLOR_B; | 30 | S.base_colors_data[*hitlist][2] = SELECT_COLOR_B; |
30 | S.base_colors_data[*hitlist][3] = SELECT_COLOR_A; | 31 | S.base_colors_data[*hitlist][3] = SELECT_COLOR_A; |
32 | */ | ||
31 | 33 | ||
32 | hitlist++; | 34 | hitlist++; |
33 | } | 35 | } |