[core] Added PrecisionPoint to represent pixel points
This commit is contained in:
@@ -372,7 +372,7 @@ void Painter::renderBackground(const BackgroundLayer& layer) {
|
||||
patternShader->u_opacity = properties.opacity;
|
||||
|
||||
LatLng latLng = state.getLatLng();
|
||||
vec2<double> center = state.latLngToPoint(latLng);
|
||||
PrecisionPoint center = state.latLngToPoint(latLng);
|
||||
float scale = 1 / std::pow(2, zoomFraction);
|
||||
|
||||
std::array<float, 2> sizeA = imagePosA.size;
|
||||
|
||||
Reference in New Issue
Block a user