load mesh data and structure meshes

This commit is contained in:
2024-01-15 19:32:49 -06:00
parent 6215e15e82
commit 5b9d1dd6eb
4 changed files with 18 additions and 2 deletions
+4 -2
View File
@@ -49,11 +49,13 @@ public class RegionCmd extends AbstractDevCmd {
}
if(building != null){
for (Mesh mesh : building.buildingMeshes){
if(mesh.boundsRect.contains(pc.loc.x,pc.loc.z))
if(mesh.boundsRect.contains(pc.loc.x,pc.loc.z)) {
this.throwbackInfo(pc, "Inside A Mesh's Bounds");
return;
}
}
}
this.throwbackInfo(pc, "Outside All Mesh Bounds");
}
@Override