load mesh data and structure meshes

This commit is contained in:
2024-01-16 09:25:31 -06:00
parent b6b5db41bd
commit 86c8e985be
4 changed files with 12 additions and 9 deletions
+1
View File
@@ -49,6 +49,7 @@ public class RegionCmd extends AbstractDevCmd {
}
if(building != null){
for (Mesh mesh : building.buildingMeshes){
this.throwbackInfo(pc, "Mesh Rect: " + mesh.boundsRect);
if(mesh.boundsRect.contains(pc.loc.x,pc.loc.z)) {
this.throwbackInfo(pc, "Inside A Mesh's Bounds");
return;