Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/
H A Dline_bucket.cpp183 const double cosHalfAngle = joinNormal.x * nextNormal->x + joinNormal.y * nextNormal->y; in addGeometry() local
185 cosHalfAngle != 0 ? 1 / cosHalfAngle : std::numeric_limits<double>::infinity(); in addGeometry()
187 …const bool isSharpCorner = cosHalfAngle < COS_HALF_SHARP_CORNER && prevCoordinate && nextCoordinat… in addGeometry()
287 const int n = std::floor((0.5 - (cosHalfAngle - 0.5)) * 8); in addGeometry()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/
H A Drender_line_layer.cpp169 const double cosHalfAngle = extrude.x * bToC.x + extrude.y * bToC.y; in offsetLine() local
170 extrude *= (1.0 / cosHalfAngle); in offsetLine()