From 3682e32eb15ae4cf508a741a67690022e52b5d33 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Thu, 22 Aug 2013 17:40:55 -0700 Subject: [PATCH] Yes, these should be consts. --- interface/src/Application.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index de9759959a..cc95aec1fd 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -2311,7 +2311,7 @@ void Application::displaySide(Camera& whichCamera) { // render transmitter pick ray, if non-empty if (_transmitterPickStart != _transmitterPickEnd) { Glower glower; - float TRANSMITTER_PICK_COLOR[] = { 1.0f, 1.0f, 0.0f }; + const float TRANSMITTER_PICK_COLOR[] = { 1.0f, 1.0f, 0.0f }; glColor3fv(TRANSMITTER_PICK_COLOR); glLineWidth(3.0f); glBegin(GL_LINES); @@ -2323,7 +2323,7 @@ void Application::displaySide(Camera& whichCamera) { glPushMatrix(); glTranslatef(_transmitterPickEnd.x, _transmitterPickEnd.y, _transmitterPickEnd.z); - float PICK_END_RADIUS = 0.025f; + const float PICK_END_RADIUS = 0.025f; glutSolidSphere(PICK_END_RADIUS, 8, 8); glPopMatrix();