Fix some build warnings while in the vicinity

This commit is contained in:
David Rowe 2014-10-31 12:49:21 -07:00
parent 8e58e6e3b0
commit 02f9bb489f

View file

@ -416,7 +416,7 @@ void MyAvatar::renderDebugBodyPoints() {
glPushMatrix(); glPushMatrix();
glColor4f(0, 1, 0, .5f); glColor4f(0, 1, 0, .5f);
glTranslatef(position.x, position.y, position.z); glTranslatef(position.x, position.y, position.z);
Application::getInstance()->getGeometryCache()->renderSphere(0.2, 10, 10); Application::getInstance()->getGeometryCache()->renderSphere(0.2f, 10.0f, 10.0f);
glPopMatrix(); glPopMatrix();
// Head Sphere // Head Sphere
@ -424,7 +424,7 @@ void MyAvatar::renderDebugBodyPoints() {
glPushMatrix(); glPushMatrix();
glColor4f(0, 1, 0, .5f); glColor4f(0, 1, 0, .5f);
glTranslatef(position.x, position.y, position.z); glTranslatef(position.x, position.y, position.z);
Application::getInstance()->getGeometryCache()->renderSphere(0.15, 10, 10); Application::getInstance()->getGeometryCache()->renderSphere(0.15f, 10.0f, 10.0f);
glPopMatrix(); glPopMatrix();
} }