[core] move Painter and dependents to new *TileID classes

This commit is contained in:
Konstantin Käfer
2016-03-08 17:18:57 +01:00
parent 5b640fb446
commit dde59eaf76
30 changed files with 138 additions and 670 deletions

View File

@@ -22,9 +22,9 @@ void CircleBucket::upload(gl::GLObjectStore& glObjectStore) {
void CircleBucket::render(Painter& painter,
const StyleLayer& layer,
const TileID& id,
const UnwrappedTileID& tileID,
const mat4& matrix) {
painter.renderCircle(*this, *layer.as<CircleLayer>(), id, matrix);
painter.renderCircle(*this, *layer.as<CircleLayer>(), tileID, matrix);
}
bool CircleBucket::hasData() const {