|
|
|
@ -148,9 +148,11 @@ GLOverlayGeode::GLOverlayDrawable::drawImplementation(osg::RenderInfo&) const
@@ -148,9 +148,11 @@ GLOverlayGeode::GLOverlayDrawable::drawImplementation(osg::RenderInfo&) const
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
glMatrixMode(GL_MODELVIEW); |
|
|
|
|
glDisable(GL_LIGHTING); |
|
|
|
|
glPushMatrix(); |
|
|
|
|
|
|
|
|
|
glScalef(-1.0f, 1.0f, 1.0f); |
|
|
|
|
glScalef(-1.0f, 1.0f, -1.0f); |
|
|
|
|
glRotatef(90.0f, 0.0f, 0.0f, 1.0f); |
|
|
|
|
|
|
|
|
|
const std::string& data = mOverlay.data(); |
|
|
|
@ -401,6 +403,7 @@ GLOverlayGeode::GLOverlayDrawable::drawImplementation(osg::RenderInfo&) const
@@ -401,6 +403,7 @@ GLOverlayGeode::GLOverlayDrawable::drawImplementation(osg::RenderInfo&) const
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
glPopMatrix(); |
|
|
|
|
glEnable(GL_LIGHTING); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
osg::BoundingBox |
|
|
|
|