summaryrefslogtreecommitdiffstats
path: root/src/render/backend/triangleboundingvolume_p.h
diff options
context:
space:
mode:
authorAntti Määttä <antti.maatta@qt.io>2016-10-25 10:12:58 +0300
committerAntti Määttä <antti.maatta@qt.io>2017-01-24 16:22:20 +0000
commitfc142f59a364c47818356fc6bf13471fec49ea99 (patch)
tree7738d2ae3494ea3034fe04014e35d014a4c817b6 /src/render/backend/triangleboundingvolume_p.h
parent1ce5d53260ae1acc792b693a7af2288bbe3cb85a (diff)
Retrieve uvw parameters when picking
The uvw can be used to interpolate coordinates on the intersection point. Change-Id: I725ef572a78ad7766000270622f3ac85edd11071 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/backend/triangleboundingvolume_p.h')
-rw-r--r--src/render/backend/triangleboundingvolume_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/backend/triangleboundingvolume_p.h b/src/render/backend/triangleboundingvolume_p.h
index cc394041b..7ee4e5384 100644
--- a/src/render/backend/triangleboundingvolume_p.h
+++ b/src/render/backend/triangleboundingvolume_p.h
@@ -78,7 +78,7 @@ public:
const QVector3D &c);
Qt3DCore::QNodeId id() const Q_DECL_FINAL;
- bool intersects(const QRay3D &ray, QVector3D *q) const Q_DECL_FINAL;
+ bool intersects(const QRay3D &ray, QVector3D *q, QVector3D *uvw) const Q_DECL_FINAL;
Type type() const Q_DECL_FINAL;
QVector3D a() const;