load mesh data and structure meshes

This commit is contained in:
2024-01-17 20:55:04 -06:00
parent adcf3fd9b6
commit 83606046ba
3 changed files with 17 additions and 11 deletions
+3 -2
View File
@@ -33,13 +33,14 @@ public class ColliderCmd extends AbstractDevCmd {
output = "Collision Info:" + newline;
output += "Total Meshes: " + building.buildingMeshes.size() + newline;
for(Mesh mesh : building.buildingMeshes){
output += "-----------------------------";
output += "-----------------------------" + newline;
output += "Mesh ID: " + mesh.mesh_id + newline;
output += "Mesh Location: " + mesh.mesh_location + newline;
output += "Mesh Scale: " + mesh.mesh_scale + newline;
output += "Mesh Min/Max: " + mesh.mesh_min_y + "/" + mesh.mesh_max_y + newline;
output += "Mesh Triangle Count: " + mesh.triangles.size() + newline;
output += "Mesh Rect: " + mesh.mesh_bounds + newline;
output += "-----------------------------";
output += "-----------------------------" + newline;
}
throwbackInfo(pc,output);