diff options
Diffstat (limited to 'src/extras/geometries/qtorusgeometry_p.h')
-rw-r--r-- | src/extras/geometries/qtorusgeometry_p.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/extras/geometries/qtorusgeometry_p.h b/src/extras/geometries/qtorusgeometry_p.h index c05e03835..28572261e 100644 --- a/src/extras/geometries/qtorusgeometry_p.h +++ b/src/extras/geometries/qtorusgeometry_p.h @@ -51,20 +51,21 @@ // We mean it. // -#include <Qt3DRender/private/qgeometry_p.h> +#include <Qt3DCore/private/qgeometry_p.h> +#include <Qt3DExtras/qtorusgeometry.h> QT_BEGIN_NAMESPACE -namespace Qt3DRender { +namespace Qt3DCore { class QAttribute; class QBuffer; -} // Qt3DRender +} // Qt3DCore namespace Qt3DExtras { -class QTorusGeometryPrivate : public Qt3DRender::QGeometryPrivate +class QTorusGeometryPrivate : public Qt3DCore::QGeometryPrivate { public: QTorusGeometryPrivate(); @@ -74,13 +75,13 @@ public: int m_slices; float m_radius; float m_minorRadius; - Qt3DRender::QAttribute *m_positionAttribute; - Qt3DRender::QAttribute *m_normalAttribute; - Qt3DRender::QAttribute *m_texCoordAttribute; - Qt3DRender::QAttribute *m_tangentAttribute; - Qt3DRender::QAttribute *m_indexAttribute; - Qt3DRender::QBuffer *m_vertexBuffer; - Qt3DRender::QBuffer *m_indexBuffer; + Qt3DCore::QAttribute *m_positionAttribute; + Qt3DCore::QAttribute *m_normalAttribute; + Qt3DCore::QAttribute *m_texCoordAttribute; + Qt3DCore::QAttribute *m_tangentAttribute; + Qt3DCore::QAttribute *m_indexAttribute; + Qt3DCore::QBuffer *m_vertexBuffer; + Qt3DCore::QBuffer *m_indexBuffer; Q_DECLARE_PUBLIC(QTorusGeometry) |