[core] Introduce SegmentVector

This commit is contained in:
John Firebaugh
2016-11-14 11:57:02 -08:00
parent 58877d1b3d
commit 377d0fb0d2
18 changed files with 86 additions and 36 deletions

View File

@@ -44,7 +44,8 @@ void Painter::renderBackground(PaintParameters& parameters, const BackgroundLaye
tileID,
state
),
tileTriangleVertexBuffer
tileTriangleVertexBuffer,
tileTriangleSegments
);
}
} else {
@@ -62,7 +63,8 @@ void Painter::renderBackground(PaintParameters& parameters, const BackgroundLaye
uniforms::u_outline_color::Value{ properties.backgroundColor.value },
uniforms::u_world::Value{ context.viewport.getCurrentValue().size },
},
tileTriangleVertexBuffer
tileTriangleVertexBuffer,
tileTriangleSegments
);
}
}