summaryrefslogtreecommitdiffstats
path: root/tests/auto/extras/common
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/extras/common')
-rw-r--r--tests/auto/extras/common/geometrytesthelper.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/auto/extras/common/geometrytesthelper.h b/tests/auto/extras/common/geometrytesthelper.h
index b825fa407..a80d652a8 100644
--- a/tests/auto/extras/common/geometrytesthelper.h
+++ b/tests/auto/extras/common/geometrytesthelper.h
@@ -29,12 +29,12 @@
#ifndef GEOMETRYTESTHELPER_H
#define GEOMETRYTESTHELPER_H
-#include <Qt3DRender/qattribute.h>
-#include <Qt3DRender/qbuffer.h>
-#include <Qt3DRender/qgeometry.h>
+#include <Qt3DCore/qattribute.h>
+#include <Qt3DCore/qbuffer.h>
+#include <Qt3DCore/qgeometry.h>
template<typename IndexType>
-IndexType extractIndexData(Qt3DRender::QAttribute *attribute, int index)
+IndexType extractIndexData(Qt3DCore::QAttribute *attribute, int index)
{
// Get the raw data
const IndexType *typedData = reinterpret_cast<const IndexType *>(attribute->buffer()->data().constData());
@@ -45,7 +45,7 @@ IndexType extractIndexData(Qt3DRender::QAttribute *attribute, int index)
}
template<typename VertexType, typename IndexType>
-VertexType extractVertexData(Qt3DRender::QAttribute *attribute, IndexType index)
+VertexType extractVertexData(Qt3DCore::QAttribute *attribute, IndexType index)
{
// Get the raw data
const char *rawData = attribute->buffer()->data().constData();
@@ -55,10 +55,10 @@ VertexType extractVertexData(Qt3DRender::QAttribute *attribute, IndexType index)
// Construct vertex from the typed data
VertexType vertex;
- const Qt3DRender::QAttribute::VertexBaseType type = attribute->vertexBaseType();
+ const Qt3DCore::QAttribute::VertexBaseType type = attribute->vertexBaseType();
switch (type)
{
- case Qt3DRender::QAttribute::Float: {
+ case Qt3DCore::QAttribute::Float: {
const float *typedVertexData = reinterpret_cast<const float *>(vertexData);
const int components = attribute->vertexSize();
for (int i = 0; i < components; ++i)