diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2015-10-20 16:16:16 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2015-10-24 14:05:39 +0000 |
commit | 1f58bd56479dff5ccaad7446ae92a27e60ec0b73 (patch) | |
tree | 29e4add04b4d79af4630ee76f2039f1439a291dd /tests | |
parent | dbf2cb2e3f077ac8ca9d3300ed0fc146f8e65a00 (diff) |
Sphere moved into Render namespace and made private
Change-Id: I940a8ea898a338f20bb9abbebcc1fcef9830a118
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/render/raycasting/tst_raycasting.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/auto/render/raycasting/tst_raycasting.cpp b/tests/auto/render/raycasting/tst_raycasting.cpp index 2da83aceb..5e4b5c8db 100644 --- a/tests/auto/render/raycasting/tst_raycasting.cpp +++ b/tests/auto/render/raycasting/tst_raycasting.cpp @@ -37,11 +37,10 @@ #include <QtTest/QtTest> #include <Qt3DRender/private/entity_p.h> #include <Qt3DRender/qraycastingservice.h> -#include <Qt3DRender/sphere.h> +#include <Qt3DRender/private/sphere_p.h> #include <Qt3DRender/private/entity_p.h> #include <Qt3DRender/private/pickboundingvolumejob_p.h> #include <Qt3DRender/qraycastingservice.h> -#include <Qt3DRender/sphere.h> #include <Qt3DCore/qboundingvolumeprovider.h> #include <Qt3DCore/qray3d.h> #include <Qt3DCore/qcamera.h> @@ -325,7 +324,7 @@ void tst_RayCasting::mousePicking() camera.matrix(), camera.projectionMatrix(), viewport.toRect()); - Qt3DRender::Sphere s(QVector3D(0.0f, 0.5f, 0.0f), 1.0f); + Qt3DRender::Render::Sphere s(QVector3D(0.0f, 0.5f, 0.0f), 1.0f); // WHEN bool intersects = s.intersects(ray, Q_NULLPTR); |