use building heigh in cm. TODO need to match ground resolution

This commit is contained in:
Hannes Janetzek
2013-04-03 01:06:58 +02:00
parent c280bbaf50
commit 118c74e810
2 changed files with 4 additions and 5 deletions

View File

@@ -87,9 +87,9 @@ public class ExtrusionLayer extends Layer {
// just a guessing to make it look ok
if (height == 0)
height = 14;
height = 14 * 100;
float sfactor = GLRenderer.COORD_SCALE * (400f / Tile.TILE_SIZE);
float sfactor = (400f / Tile.TILE_SIZE) / 2f;
height *= sfactor;
minHeight *= sfactor;