3
0
Fork 0
mirror of https://github.com/JulianGro/overte.git synced 2025-05-06 00:07:58 +02:00

moving else

This commit is contained in:
Liv 2017-06-09 12:59:08 -07:00
parent 8c488d95d1
commit 7785473ccb

View file

@ -269,8 +269,7 @@ void extrudePolygon(GeometryCache::ShapeData& shapeData, gpu::BufferPointer& ver
vertices.push_back(vec3(0.0f, 0.5f, 0.0f));
vertices.push_back(vec3(0.0f, 1.0f, 0.0f));
}
}
else {
} else {
for (const vec3& v : shape) {
vertices.push_back(vec3(v.x, 0.5f, v.z));
vertices.push_back(vec3(0.0f, 1.0f, 0.0f));