Searched refs:joinNormal (Results 1 – 1 of 1) sorted by relevance
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/buckets/ |
| H A D | line_bucket.cpp | 165 Point<double> joinNormal = *prevNormal + *nextNormal; in addGeometry() local 166 if (joinNormal.x != 0 || joinNormal.y != 0) { in addGeometry() 167 joinNormal = util::unit(joinNormal); in addGeometry() 183 const double cosHalfAngle = joinNormal.x * nextNormal->x + joinNormal.y * nextNormal->y; in addGeometry() 237 joinNormal = joinNormal * miterLength; in addGeometry() 238 addCurrentVertex(*currentCoordinate, distance, joinNormal, 0, 0, false, startVertex, in addGeometry() 246 joinNormal = *nextNormal * -1.0; in addGeometry() 251 joinNormal = util::perp(joinNormal) * bevelLength * direction; in addGeometry() 254 addCurrentVertex(*currentCoordinate, distance, joinNormal, 0, 0, false, startVertex, in addGeometry() 257 … addCurrentVertex(*currentCoordinate, distance, joinNormal * -1.0, 0, 0, false, startVertex, in addGeometry() [all …]
|