mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 00:02:57 +02:00
Yes, these should be consts.
This commit is contained in:
parent
2cff4b6b3a
commit
3682e32eb1
1 changed files with 2 additions and 2 deletions
|
@ -2311,7 +2311,7 @@ void Application::displaySide(Camera& whichCamera) {
|
||||||
// render transmitter pick ray, if non-empty
|
// render transmitter pick ray, if non-empty
|
||||||
if (_transmitterPickStart != _transmitterPickEnd) {
|
if (_transmitterPickStart != _transmitterPickEnd) {
|
||||||
Glower glower;
|
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);
|
glColor3fv(TRANSMITTER_PICK_COLOR);
|
||||||
glLineWidth(3.0f);
|
glLineWidth(3.0f);
|
||||||
glBegin(GL_LINES);
|
glBegin(GL_LINES);
|
||||||
|
@ -2323,7 +2323,7 @@ void Application::displaySide(Camera& whichCamera) {
|
||||||
glPushMatrix();
|
glPushMatrix();
|
||||||
glTranslatef(_transmitterPickEnd.x, _transmitterPickEnd.y, _transmitterPickEnd.z);
|
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);
|
glutSolidSphere(PICK_END_RADIUS, 8, 8);
|
||||||
|
|
||||||
glPopMatrix();
|
glPopMatrix();
|
||||||
|
|
Loading…
Reference in a new issue