add Y axis of building to mesh height

This commit is contained in:
2024-01-05 22:41:41 -06:00
parent 31ea74f98c
commit 95f09a255e
+1 -1
View File
@@ -993,7 +993,7 @@ public enum BuildingManager {
return; //no data for this 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);
if (mesh_bounding_boxes.containsKey(mesh)) {