History

Yes, these should be consts.

Andrzej Kapolka committed 13 years ago

Commit 3682e321 parent 2cff4b61 file · +2 −2Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+2−2
@@ -2311,7 +2311,7 @@ void Application::displaySide(Camera& whichCamera) { · 2310 unmodified lines
2311 // render transmitter pick ray, if non-empty2311 // 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();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t