Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 1 file). Show all
Unified · Split
| @@ -265,7 +265,7 @@ void extrudePolygon(GeometryCache::ShapeData& shapeData, gpu::BufferPointer& ver · 264 unmodified lines | ||
| 265 | 265 | // Top (if not conical) and bottom faces |
| 266 | 266 | std::vector<vec3> shape = polygon<N>(); |
| 267 | 267 | if (isConical) { |
| 268 | − for (uint32_t i = 0; i < N; i++) { | |
| 268 | + for (uint32_t i = 0; i < N; i++) { | |
| 269 | 269 | vertices.push_back(vec3(0, 0.5f, 0)); |
| 270 | 270 | vertices.push_back(vec3(0, 1, 0)); |
| 271 | 271 | } |