|
|
@ -941,8 +941,6 @@ public class dbBuildingHandler extends dbHandlerBase { |
|
|
|
BuildingManager.mesh_bounding_boxes = new HashMap<>(); |
|
|
|
BuildingManager.mesh_bounding_boxes = new HashMap<>(); |
|
|
|
while (rs.next()) { |
|
|
|
while (rs.next()) { |
|
|
|
if(BuildingManager.mesh_bounding_boxes.containsKey(rs.getInt("meshId")) == false){ |
|
|
|
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 endX = Float.parseFloat(rs.getString("end").split(";")[0]); |
|
|
|
float endZ = Float.parseFloat(rs.getString("end").split(";")[1]); |
|
|
|
float endZ = Float.parseFloat(rs.getString("end").split(";")[1]); |
|
|
|
float refX = Float.parseFloat(rs.getString("ref").split(";")[0]); |
|
|
|
float refX = Float.parseFloat(rs.getString("ref").split(";")[0]); |
|
|
|