|
|
@ -566,8 +566,8 @@ public class dbBuildingHandler extends dbHandlerBase { |
|
|
|
String[] vertStrings = rs.getString("vertices").split(";"); |
|
|
|
String[] vertStrings = rs.getString("vertices").split(";"); |
|
|
|
ArrayList<Vector2f> vertArrayList = new ArrayList<>(); |
|
|
|
ArrayList<Vector2f> vertArrayList = new ArrayList<>(); |
|
|
|
|
|
|
|
|
|
|
|
vertArrayList.add(new Vector2f(Float.parseFloat(vertStrings[0]), Float.parseFloat(vertStrings[1]))); |
|
|
|
for (int i = 0; i < vertStrings.length; i += 2) |
|
|
|
vertArrayList.add(new Vector2f(Float.parseFloat(vertStrings[2]), Float.parseFloat(vertStrings[3]))); |
|
|
|
vertArrayList.add(new Vector2f(Float.parseFloat(vertStrings[i]), Float.parseFloat(vertStrings[1 + 1]))); |
|
|
|
|
|
|
|
|
|
|
|
ArrayList<ArrayList<Vector2f>> meshList; |
|
|
|
ArrayList<ArrayList<Vector2f>> meshList; |
|
|
|
|
|
|
|
|
|
|
|