mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 06:17:38 +02:00
Changing loop to avoid unused warnings
This commit is contained in:
parent
6e5cb63d4f
commit
c3bf915fd4
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue