load mesh data and structure meshes

This commit is contained in:
2024-01-15 20:07:21 -06:00
parent a52f0941b7
commit 94e16bdf3d
2 changed files with 9 additions and 1 deletions
@@ -996,6 +996,7 @@ public enum BuildingManager {
return; //no data for this mesh
Mesh generatedMesh = new Mesh();
generatedMesh.parentBuilding = building;
generatedMesh.maxY = building.loc.y + mesh_heights.get(mesh).x;
generatedMesh.minY = building.loc.y + mesh_heights.get(mesh).y;
ArrayList<ArrayList<Vector3f>> triPoints = mesh_triangle_points.get(mesh);