Home
last modified time | relevance | path

Searched refs:halfRectHeight (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/util/
H A Dgrid_index.cpp280 auto halfRectHeight = (box.max.y - box.min.y) / 2; in circleAndBoxCollide() local
281 auto distY = std::abs(circle.center.y - (box.min.y + halfRectHeight)); in circleAndBoxCollide()
282 if (distY > (halfRectHeight + circle.radius)) { in circleAndBoxCollide()
286 if (distX <= halfRectWidth || distY <= halfRectHeight) { in circleAndBoxCollide()
291 auto dy = distY - halfRectHeight; in circleAndBoxCollide()