summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qcameralens.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qcameralens.cpp')
-rw-r--r--src/render/frontend/qcameralens.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/render/frontend/qcameralens.cpp b/src/render/frontend/qcameralens.cpp
index e36fae063..c86610f3d 100644
--- a/src/render/frontend/qcameralens.cpp
+++ b/src/render/frontend/qcameralens.cpp
@@ -68,22 +68,6 @@ QCameraLens::QCameraLens(QNode *parent)
d->updateProjectionMatrix();
}
-void QCameraLens::copy(const QNode *ref)
-{
- QComponent::copy(ref);
- const QCameraLens *lens = static_cast<const QCameraLens*>(ref);
- d_func()->m_projectionType = lens->d_func()->m_projectionType;
- d_func()->m_nearPlane = lens->d_func()->m_nearPlane;
- d_func()->m_farPlane = lens->d_func()->m_farPlane;
- d_func()->m_fieldOfView = lens->d_func()->m_fieldOfView;
- d_func()->m_aspectRatio = lens->d_func()->m_aspectRatio;
- d_func()->m_left = lens->d_func()->m_left;
- d_func()->m_right = lens->d_func()->m_right;
- d_func()->m_bottom = lens->d_func()->m_bottom;
- d_func()->m_top = lens->d_func()->m_top;
- d_func()->m_projectionMatrix = lens->d_func()->m_projectionMatrix;
-}
-
/*! \class Qt3DRender::QCameraLens
* \inmodule Qt3DCore
*