mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 19:04:32 +02:00
Resize half cylinder backing to texture in full frame mode.
This commit is contained in:
parent
205ce83238
commit
8cadca4ce7
1 changed files with 4 additions and 1 deletions
|
@ -262,8 +262,11 @@ bool Face::render(float alpha) {
|
|||
zScale = xScale * 0.3f;
|
||||
|
||||
glPushMatrix();
|
||||
glScalef(0.5f * xScale, 0.5f * xScale / aspect, zScale);
|
||||
glColor4f(1.0f, 1.0f, 1.0f, alpha);
|
||||
glScalef(xScale / 12, xScale / (aspect * 3), zScale / 2);
|
||||
Application::getInstance()->getGeometryCache()->renderHalfCylinder(25, 20);
|
||||
glRotatef(180, 0, 1, 0);
|
||||
glRotatef(180, 1, 0, 0);
|
||||
Application::getInstance()->getGeometryCache()->renderHalfCylinder(25, 20);
|
||||
glPopMatrix();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue