summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-02-13 01:36:42 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-02-13 01:36:42 +0000
commit849f4aa735352704995ffb51bf23dadf795bb119 (patch)
tree6f610f55791d7dc7ade6ebf5be42227f63979f75 /test
parentAdd helpers for testing for triangle overlap/containedness (diff)
downloadilt-849f4aa735352704995ffb51bf23dadf795bb119.tar.bz2
ilt-849f4aa735352704995ffb51bf23dadf795bb119.tar.xz
ilt-849f4aa735352704995ffb51bf23dadf795bb119.zip
Include face handle in intersectRay result
Diffstat (limited to 'test')
-rw-r--r--test/test-geoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-geoData.cpp b/test/test-geoData.cpp
index efe845c..f8437c3 100644
--- a/test/test-geoData.cpp
+++ b/test/test-geoData.cpp
@@ -114,7 +114,7 @@ BOOST_DATA_TEST_CASE(findRayIntersect,
}),
p, d, i)
{
- BOOST_CHECK_EQUAL(fixedTerrtain.intersectRay({p, d}).value(), i);
+ BOOST_CHECK_EQUAL(fixedTerrtain.intersectRay({p, d})->first, i);
}
BOOST_AUTO_TEST_CASE(boundaryWalk)