summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/raycasting/tst_raycasting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/raycasting/tst_raycasting.cpp')
-rw-r--r--tests/auto/render/raycasting/tst_raycasting.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/render/raycasting/tst_raycasting.cpp b/tests/auto/render/raycasting/tst_raycasting.cpp
index 7216f7036..04274f67a 100644
--- a/tests/auto/render/raycasting/tst_raycasting.cpp
+++ b/tests/auto/render/raycasting/tst_raycasting.cpp
@@ -330,7 +330,7 @@ void tst_RayCasting::mousePicking()
Qt3DRender::Render::Sphere s(QVector3D(0.0f, 0.5f, 0.0f), 1.0f);
// WHEN
- bool intersects = s.intersects(ray, Q_NULLPTR);
+ bool intersects = s.intersects(ray, nullptr);
// THEN
QVERIFY(intersects);
@@ -340,7 +340,7 @@ void tst_RayCasting::mousePicking()
camera.viewMatrix(),
camera.projectionMatrix(),
viewport.toRect());
- intersects = s.intersects(ray, Q_NULLPTR);
+ intersects = s.intersects(ray, nullptr);
// THEN
QVERIFY(!intersects);
@@ -350,7 +350,7 @@ void tst_RayCasting::mousePicking()
camera.viewMatrix(),
camera.projectionMatrix(),
viewport.toRect());
- intersects = s.intersects(ray, Q_NULLPTR);
+ intersects = s.intersects(ray, nullptr);
// THEN
QVERIFY(!intersects);
@@ -360,7 +360,7 @@ void tst_RayCasting::mousePicking()
camera.viewMatrix(),
camera.projectionMatrix(),
viewport.toRect());
- intersects = s.intersects(ray, Q_NULLPTR);
+ intersects = s.intersects(ray, nullptr);
// THEN
QVERIFY(!intersects);
@@ -370,7 +370,7 @@ void tst_RayCasting::mousePicking()
camera.viewMatrix(),
camera.projectionMatrix(),
viewport.toRect());
- intersects = s.intersects(ray, Q_NULLPTR);
+ intersects = s.intersects(ray, nullptr);
// THEN
QVERIFY(!intersects);