Home
last modified time | relevance | path

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

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dsymbol_projection.cpp183 float currentSegmentDistance = 0.0; in placeGlyphAlongLine() local
186 while (distanceToPrev + currentSegmentDistance <= absOffsetX) { in placeGlyphAlongLine()
208 distanceToPrev += currentSegmentDistance; in placeGlyphAlongLine()
209 currentSegmentDistance = util::dist<float>(prev, current); in placeGlyphAlongLine()
213 const float segmentInterpolationT = (absOffsetX - distanceToPrev) / currentSegmentDistance; in placeGlyphAlongLine()