summaryrefslogtreecommitdiffstats
path: root/src/extras/geometries/qplanegeometry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/extras/geometries/qplanegeometry.h')
-rw-r--r--src/extras/geometries/qplanegeometry.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/extras/geometries/qplanegeometry.h b/src/extras/geometries/qplanegeometry.h
index 91e985700..9cd51abea 100644
--- a/src/extras/geometries/qplanegeometry.h
+++ b/src/extras/geometries/qplanegeometry.h
@@ -41,33 +41,33 @@
#define QT3DEXTRAS_QPLANEGEOMETRY_H
#include <Qt3DExtras/qt3dextras_global.h>
-#include <Qt3DRender/qgeometry.h>
+#include <Qt3DCore/qgeometry.h>
#include <QtCore/QSize>
QT_BEGIN_NAMESPACE
-namespace Qt3DRender {
+namespace Qt3DCore {
class QAttribute;
-} // Qt3DRender
+} // Qt3DCore
namespace Qt3DExtras {
class QPlaneGeometryPrivate;
-class Q_3DEXTRASSHARED_EXPORT QPlaneGeometry : public Qt3DRender::QGeometry
+class Q_3DEXTRASSHARED_EXPORT QPlaneGeometry : public Qt3DCore::QGeometry
{
Q_OBJECT
Q_PROPERTY(float width READ width WRITE setWidth NOTIFY widthChanged)
Q_PROPERTY(float height READ height WRITE setHeight NOTIFY heightChanged)
Q_PROPERTY(QSize resolution READ resolution WRITE setResolution NOTIFY resolutionChanged)
Q_PROPERTY(bool mirrored READ mirrored WRITE setMirrored NOTIFY mirroredChanged REVISION 9)
- Q_PROPERTY(Qt3DRender::QAttribute *positionAttribute READ positionAttribute CONSTANT)
- Q_PROPERTY(Qt3DRender::QAttribute *normalAttribute READ normalAttribute CONSTANT)
- Q_PROPERTY(Qt3DRender::QAttribute *texCoordAttribute READ texCoordAttribute CONSTANT)
- Q_PROPERTY(Qt3DRender::QAttribute *tangentAttribute READ tangentAttribute CONSTANT)
- Q_PROPERTY(Qt3DRender::QAttribute *indexAttribute READ indexAttribute CONSTANT)
+ Q_PROPERTY(Qt3DCore::QAttribute *positionAttribute READ positionAttribute CONSTANT)
+ Q_PROPERTY(Qt3DCore::QAttribute *normalAttribute READ normalAttribute CONSTANT)
+ Q_PROPERTY(Qt3DCore::QAttribute *texCoordAttribute READ texCoordAttribute CONSTANT)
+ Q_PROPERTY(Qt3DCore::QAttribute *tangentAttribute READ tangentAttribute CONSTANT)
+ Q_PROPERTY(Qt3DCore::QAttribute *indexAttribute READ indexAttribute CONSTANT)
public:
explicit QPlaneGeometry(QNode *parent = nullptr);
@@ -81,11 +81,11 @@ public:
float height() const;
bool mirrored() const;
- Qt3DRender::QAttribute *positionAttribute() const;
- Qt3DRender::QAttribute *normalAttribute() const;
- Qt3DRender::QAttribute *texCoordAttribute() const;
- Qt3DRender::QAttribute *tangentAttribute() const;
- Qt3DRender::QAttribute *indexAttribute() const;
+ Qt3DCore::QAttribute *positionAttribute() const;
+ Qt3DCore::QAttribute *normalAttribute() const;
+ Qt3DCore::QAttribute *texCoordAttribute() const;
+ Qt3DCore::QAttribute *tangentAttribute() const;
+ Qt3DCore::QAttribute *indexAttribute() const;
public Q_SLOTS:
void setResolution(const QSize &resolution);