Browse Source

load mesh data and structure meshes

server-collision
FatBoy-DOTC 10 months ago
parent
commit
18f70b6d5c
  1. 3
      src/engine/gameManager/BuildingManager.java

3
src/engine/gameManager/BuildingManager.java

@ -982,6 +982,9 @@ public enum BuildingManager {
if (building == null) if (building == null)
return; return;
if(building.meshUUID == 450700){
int i = 0; // stop point for testing
}
building.buildingMeshes = new ArrayList<>(); building.buildingMeshes = new ArrayList<>();
float rotation = building.getRot().getRotation(); float rotation = building.getRot().getRotation();
Vector3f buildingLoc = new Vector3f(building.loc.x, building.loc.y, building.loc.z); Vector3f buildingLoc = new Vector3f(building.loc.x, building.loc.y, building.loc.z);

Loading…
Cancel
Save