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
23112311 // render transmitter pick ray, if non-empty
23122312 if (_transmitterPickStart != _transmitterPickEnd) {
23132313 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 };
23152315 glColor3fv(TRANSMITTER_PICK_COLOR);
23162316 glLineWidth(3.0f);
23172317 glBegin(GL_LINES);
@@ -2323,7 +2323,7 @@ void Application::displaySide(Camera& whichCamera) { · 5 unmodified lines
23232323 glPushMatrix();
23242324 glTranslatef(_transmitterPickEnd.x, _transmitterPickEnd.y, _transmitterPickEnd.z);
23252325
2326− float PICK_END_RADIUS = 0.025f;
2326+ const float PICK_END_RADIUS = 0.025f;
23272327 glutSolidSphere(PICK_END_RADIUS, 8, 8);
23282328
23292329 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