|
|
@ -993,7 +993,7 @@ public enum BuildingManager { |
|
|
|
return; //no data for this mesh
|
|
|
|
return; //no data for this mesh
|
|
|
|
|
|
|
|
|
|
|
|
Mesh generatedMesh = new Mesh(); |
|
|
|
Mesh generatedMesh = new Mesh(); |
|
|
|
generatedMesh.meshHeight = mesh_heights.get(mesh); |
|
|
|
generatedMesh.meshHeight = building.loc.y + mesh_heights.get(mesh); |
|
|
|
ArrayList<ArrayList<Vector3f>> triPoints = mesh_triangle_points.get(mesh); |
|
|
|
ArrayList<ArrayList<Vector3f>> triPoints = mesh_triangle_points.get(mesh); |
|
|
|
|
|
|
|
|
|
|
|
if (mesh_bounding_boxes.containsKey(mesh)) { |
|
|
|
if (mesh_bounding_boxes.containsKey(mesh)) { |
|
|
|