mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
Merge pull request #822 from LionTurtle/master
Resize half cylinder backing to texture in full frame mode.
This commit is contained in:
commit
f1dc26e597
1 changed files with 2 additions and 1 deletions
|
@ -262,8 +262,9 @@ bool Face::render(float alpha) {
|
|||
zScale = xScale * 0.3f;
|
||||
|
||||
glPushMatrix();
|
||||
glTranslatef(0.0f, -0.2f, 0.0f);
|
||||
glScalef(0.5f * xScale, 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);
|
||||
glPopMatrix();
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue