| 35 | namespace CesiumVectorData { |
| 36 | namespace { |
| 37 | BLPoint radiansToPoint( |
| 38 | double longitude, |
| 39 | double latitude, |
| 40 | const GlobeRectangle& rect, |
| 41 | const BLContext& context) { |
| 42 | const glm::dvec2 point = |
| 43 | rect.computeNormalizedCoordinates(Cartographic(longitude, latitude)); |
| 44 | return BLPoint( |
| 45 | point.x * context.targetWidth(), |
| 46 | (1.0 - point.y) * context.targetHeight()); |
| 47 | } |
| 48 | |
| 49 | void setStrokeWidth( |
| 50 | BLContext& context, |
no test coverage detected