[core] move Painter and dependents to new *TileID classes
This commit is contained in:
@@ -11,7 +11,7 @@ using namespace mbgl;
|
||||
|
||||
void Painter::renderCircle(CircleBucket& bucket,
|
||||
const CircleLayer& layer,
|
||||
const TileID& id,
|
||||
const UnwrappedTileID& tileID,
|
||||
const mat4& matrix) {
|
||||
// Abort early.
|
||||
if (pass == RenderPass::Opaque) return;
|
||||
@@ -23,7 +23,8 @@ void Painter::renderCircle(CircleBucket& bucket,
|
||||
setDepthSublayer(0);
|
||||
|
||||
const CirclePaintProperties& properties = layer.paint;
|
||||
mat4 vtxMatrix = translatedMatrix(matrix, properties.circleTranslate, id, properties.circleTranslateAnchor);
|
||||
mat4 vtxMatrix = translatedMatrix(matrix, properties.circleTranslate, tileID,
|
||||
properties.circleTranslateAnchor);
|
||||
|
||||
Color color = properties.circleColor;
|
||||
color[0] *= properties.circleOpacity;
|
||||
|
||||
Reference in New Issue
Block a user