Changing loop to avoid unused warnings

This commit is contained in:
Liv 2017-06-07 15:04:39 -07:00
parent 6e5cb63d4f
commit c3bf915fd4

View file

@ -265,7 +265,7 @@ void extrudePolygon(GeometryCache::ShapeData& shapeData, gpu::BufferPointer& ver
// Top (if not conical) and bottom faces
std::vector<vec3> shape = polygon<N>();
if (isConical) {
for (const vec3& v : shape) {
for (uint32_t i = 0; i < N; i++) {
vertices.push_back(vec3(0, 0.5f, 0));
vertices.push_back(vec3(0, 1, 0));
}