Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2311,7 +2311,7 @@ void Application::displaySide(Camera& whichCamera) { · 2310 unmodified lines | |||
| 2311 | // render transmitter pick ray, if non-empty | 2311 | // render transmitter pick ray, if non-empty |
| 2312 | if (_transmitterPickStart != _transmitterPickEnd) { | 2312 | if (_transmitterPickStart != _transmitterPickEnd) { |
| 2313 | Glower glower; | 2313 | Glower glower; |
| 2314 | float TRANSMITTER_PICK_COLOR[] = { 1.0f, 1.0f, 0.0f }; | 2314 | const float TRANSMITTER_PICK_COLOR[] = { 1.0f, 1.0f, 0.0f }; |
| 2315 | glColor3fv(TRANSMITTER_PICK_COLOR); | 2315 | glColor3fv(TRANSMITTER_PICK_COLOR); |
| 2316 | glLineWidth(3.0f); | 2316 | glLineWidth(3.0f); |
| 2317 | glBegin(GL_LINES); | 2317 | glBegin(GL_LINES); |
| @@ -2323,7 +2323,7 @@ void Application::displaySide(Camera& whichCamera) { · 5 unmodified lines | |||
| 2323 | glPushMatrix(); | 2323 | glPushMatrix(); |
| 2324 | glTranslatef(_transmitterPickEnd.x, _transmitterPickEnd.y, _transmitterPickEnd.z); | 2324 | glTranslatef(_transmitterPickEnd.x, _transmitterPickEnd.y, _transmitterPickEnd.z); |
| 2325 | 2325 | ||
| 2326 | float PICK_END_RADIUS = 0.025f; | 2326 | const float PICK_END_RADIUS = 0.025f; |
| 2327 | glutSolidSphere(PICK_END_RADIUS, 8, 8); | 2327 | glutSolidSphere(PICK_END_RADIUS, 8, 8); |
| 2328 | 2328 | ||
| 2329 | glPopMatrix(); | 2329 | glPopMatrix(); |