mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 01:17:14 +02:00
removing dead code
This commit is contained in:
parent
ad1771c738
commit
5bf85961d2
1 changed files with 2 additions and 23 deletions
|
@ -1093,22 +1093,6 @@ void Application::resizeGL() {
|
||||||
_glWidget->makeCurrent();
|
_glWidget->makeCurrent();
|
||||||
|
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
void Application::updateProjectionMatrix() {
|
|
||||||
// _projectionMatrix = _myCamera.getProjection();
|
|
||||||
loadViewFrustum(_myCamera, _viewFrustum);
|
|
||||||
// updateProjectionMatrix(_myCamera);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
/*
|
|
||||||
void Application::updateProjectionMatrix(Camera& camera, bool updateViewFrustum) {
|
|
||||||
_projectionMatrix = camera.getProjection();
|
|
||||||
// Tell our viewFrustum about this change, using the application camera
|
|
||||||
if (updateViewFrustum) {
|
|
||||||
loadViewFrustum(camera, _viewFrustum);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
bool Application::importSVOFromURL(const QString& urlString) {
|
bool Application::importSVOFromURL(const QString& urlString) {
|
||||||
QUrl url(urlString);
|
QUrl url(urlString);
|
||||||
|
@ -3459,16 +3443,11 @@ void Application::renderRearViewMirror(RenderArgs* renderArgs, const QRect& regi
|
||||||
|
|
||||||
bool updateViewFrustum = false;
|
bool updateViewFrustum = false;
|
||||||
loadViewFrustum(_mirrorCamera, _viewFrustum);
|
loadViewFrustum(_mirrorCamera, _viewFrustum);
|
||||||
// updateProjectionMatrix(_mirrorCamera, updateViewFrustum);
|
|
||||||
|
|
||||||
// render rear mirror view
|
// render rear mirror view
|
||||||
displaySide(renderArgs, _mirrorCamera, true, billboard);
|
displaySide(renderArgs, _mirrorCamera, true, billboard);
|
||||||
//{
|
|
||||||
// gpu::Batch batch;
|
|
||||||
// renderArgs->_viewport = originalViewport;
|
|
||||||
// batch.setViewportTransform(originalViewport);
|
|
||||||
// renderArgs->_context->render(batch);
|
|
||||||
//}
|
|
||||||
renderArgs->_viewport = originalViewport;
|
renderArgs->_viewport = originalViewport;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue