summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/dynamicscene-cpp/boxentity.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-04-11 14:58:17 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2016-04-23 11:14:30 +0000
commit0542f1614aa6d50c4c9809fb0ce5f1adb5666d67 (patch)
tree77a1ed41c16262f5cc7aa9ddb2d66d3f9b61a719 /examples/qt3d/dynamicscene-cpp/boxentity.cpp
parent8677f62fa690efa29fbb6f870af1ea2b4e7111cf (diff)
Move defaults and geometries out of Qt3DRender and into Qt3DExtras
QBoundingVolumeDebug has been disabled for now. Will be re-enabled later on. Change-Id: Id6b0abab2ec2aa697330bd20d782f9d104d25d50 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/dynamicscene-cpp/boxentity.cpp')
-rw-r--r--examples/qt3d/dynamicscene-cpp/boxentity.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/dynamicscene-cpp/boxentity.cpp b/examples/qt3d/dynamicscene-cpp/boxentity.cpp
index c0e8c7511..a39c9a9dc 100644
--- a/examples/qt3d/dynamicscene-cpp/boxentity.cpp
+++ b/examples/qt3d/dynamicscene-cpp/boxentity.cpp
@@ -55,8 +55,8 @@
BoxEntity::BoxEntity(QNode *parent)
: Qt3DCore::QEntity(parent)
, m_transform(new Qt3DCore::QTransform())
- , m_mesh(new Qt3DRender::QCuboidMesh())
- , m_material(new Qt3DRender::QPhongMaterial())
+ , m_mesh(new Qt3DExtras::QCuboidMesh())
+ , m_material(new Qt3DExtras::QPhongMaterial())
, m_angle(0.0f)
, m_radius(1.0f)
{