summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/dynamicscene-cpp/boxentity.cpp
diff options
context:
space:
mode:
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 a3f539564..9b35c2316 100644
--- a/examples/qt3d/dynamicscene-cpp/boxentity.cpp
+++ b/examples/qt3d/dynamicscene-cpp/boxentity.cpp
@@ -42,8 +42,8 @@ BoxEntity::BoxEntity(QNode *parent)
: Qt3D::QEntity(parent)
, m_transform(new Qt3D::QTransform())
, m_translate(new Qt3D::QTranslateTransform())
- , m_mesh(new Qt3D::QCuboidMesh())
- , m_material(new Qt3D::QPhongMaterial())
+ , m_mesh(new Qt3DRender::QCuboidMesh())
+ , m_material(new Qt3DRender::QPhongMaterial())
, m_angle(0.0f)
, m_radius(1.0f)
{