summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/bigscene-cpp/entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/bigscene-cpp/entity.cpp')
-rw-r--r--examples/qt3d/bigscene-cpp/entity.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/qt3d/bigscene-cpp/entity.cpp b/examples/qt3d/bigscene-cpp/entity.cpp
index 878a3839f..9a4ecae3b 100644
--- a/examples/qt3d/bigscene-cpp/entity.cpp
+++ b/examples/qt3d/bigscene-cpp/entity.cpp
@@ -50,16 +50,16 @@
#include "entity.h"
-#include <Qt3DRender/QCylinderMesh>
-#include <Qt3DRender/QPhongMaterial>
+#include <Qt3DExtras/QCylinderMesh>
+#include <Qt3DExtras/QPhongMaterial>
#include <Qt3DCore/QTransform>
#include <QMatrix4x4>
Entity::Entity(Qt3DCore::QNode *parent)
: QEntity(parent)
, m_transform(new Qt3DCore::QTransform())
- , m_mesh(new Qt3DRender::QCylinderMesh())
- , m_material(new Qt3DRender::QPhongMaterial())
+ , m_mesh(new Qt3DExtras::QCylinderMesh())
+ , m_material(new Qt3DExtras::QPhongMaterial())
{
m_mesh->setRings(50.0f);
m_mesh->setSlices(30.0f);