From 06df109a18985fc0394813106e3c8146c4bb4086 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 15 Jan 2024 20:28:49 -0600 Subject: [PATCH] load mesh data and structure meshes --- src/engine/db/handlers/dbBuildingHandler.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/engine/db/handlers/dbBuildingHandler.java b/src/engine/db/handlers/dbBuildingHandler.java index acd66548..bb060348 100644 --- a/src/engine/db/handlers/dbBuildingHandler.java +++ b/src/engine/db/handlers/dbBuildingHandler.java @@ -941,8 +941,6 @@ public class dbBuildingHandler extends dbHandlerBase { BuildingManager.mesh_bounding_boxes = new HashMap<>(); while (rs.next()) { if(BuildingManager.mesh_bounding_boxes.containsKey(rs.getInt("meshId")) == false){ - float centerX = Float.parseFloat(rs.getString("start").split(";")[0]); - float centerZ = Float.parseFloat(rs.getString("start").split(";")[1]); float endX = Float.parseFloat(rs.getString("end").split(";")[0]); float endZ = Float.parseFloat(rs.getString("end").split(";")[1]); float refX = Float.parseFloat(rs.getString("ref").split(";")[0]);