summaryrefslogtreecommitdiffstats
path: root/src/extras/geometries/qspheregeometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extras/geometries/qspheregeometry.cpp')
-rw-r--r--src/extras/geometries/qspheregeometry.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/extras/geometries/qspheregeometry.cpp b/src/extras/geometries/qspheregeometry.cpp
index ab84b5ff0..c780ba83c 100644
--- a/src/extras/geometries/qspheregeometry.cpp
+++ b/src/extras/geometries/qspheregeometry.cpp
@@ -40,8 +40,8 @@
#include "qspheregeometry.h"
#include "qspheregeometry_p.h"
-#include <Qt3DRender/qbuffer.h>
-#include <Qt3DRender/qattribute.h>
+#include <Qt3DCore/qbuffer.h>
+#include <Qt3DCore/qattribute.h>
#include <qmath.h>
@@ -52,7 +52,7 @@
QT_BEGIN_NAMESPACE
-using namespace Qt3DRender;
+using namespace Qt3DCore;
namespace Qt3DExtras {
@@ -190,8 +190,8 @@ void QSphereGeometryPrivate::init()
m_texCoordAttribute = new QAttribute(q);
m_tangentAttribute = new QAttribute(q);
m_indexAttribute = new QAttribute(q);
- m_vertexBuffer = new Qt3DRender::QBuffer(q);
- m_indexBuffer = new Qt3DRender::QBuffer(q);
+ m_vertexBuffer = new Qt3DCore::QBuffer(q);
+ m_indexBuffer = new Qt3DCore::QBuffer(q);
// vec3 pos, vec2 tex, vec3 normal, vec4 tangent
const quint32 elementSize = 3 + 2 + 3 + 4;
@@ -334,7 +334,7 @@ QByteArray QSphereGeometryPrivate::generateIndexData() const
* \brief The QSphereGeometry class allows creation of a sphere in 3D space.
* \since 5.7
* \ingroup geometries
- * \inherits Qt3DRender::QGeometry
+ * \inherits Qt3DCore::QGeometry
*
* The QSphereGeometry class is most commonly used internally by the QSphereMesh
* but can also be used in custom Qt3DRender::QGeometryRenderer subclasses.