Skip to content

Commit 30502bd

Browse files
committed
handle CesiumGeometry::BoundingCylinderRegion in std::variant visitor
1 parent 9865cc5 commit 30502bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

native~/Runtime/src/Cesium3DTilesetImpl.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,10 @@ struct CalculateECEFCameraPosition {
279279
glm::dvec3 operator()(const CesiumGeospatial::S2CellBoundingVolume& s2) {
280280
return (*this)(s2.computeBoundingRegion(ellipsoid));
281281
}
282+
283+
glm::dvec3 operator()(const CesiumGeometry::BoundingCylinderRegion& cyl) {
284+
return (*this)(cyl.toOrientedBoundingBox());
285+
}
282286
};
283287
} // namespace
284288

0 commit comments

Comments
 (0)