mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 13:33:38 +02:00
CR feedback
This commit is contained in:
parent
cd6adb8f28
commit
6846426f23
1 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ void Sphere3DOverlay::render() {
|
|||
return; // do nothing if we're not visible
|
||||
}
|
||||
|
||||
const int slices = 15;
|
||||
const int SLICES = 15;
|
||||
float alpha = getAlpha();
|
||||
xColor color = getColor();
|
||||
const float MAX_COLOR = 255.0f;
|
||||
|
@ -58,9 +58,9 @@ void Sphere3DOverlay::render() {
|
|||
glScalef(dimensions.x, dimensions.y, dimensions.z);
|
||||
//Application::getInstance()->getDeferredLightingEffect()->renderSolidCube(1.0f);
|
||||
if (_isSolid) {
|
||||
glutSolidSphere(1.0f, slices, slices);
|
||||
glutSolidSphere(1.0f, SLICES, SLICES);
|
||||
} else {
|
||||
glutWireSphere(1.0f, slices, slices);
|
||||
glutWireSphere(1.0f, SLICES, SLICES);
|
||||
}
|
||||
glPopMatrix();
|
||||
glPopMatrix();
|
||||
|
|
Loading…
Reference in a new issue