utilize min and max Y values for meshes
This commit is contained in:
@@ -923,7 +923,8 @@ public class dbBuildingHandler extends dbHandlerBase {
|
||||
while (rs.next()) {
|
||||
|
||||
if(BuildingManager.mesh_heights.containsKey(rs.getInt("meshID")) == false){
|
||||
BuildingManager.mesh_heights.put(rs.getInt("meshID"),rs.getFloat("maxY"));
|
||||
Vector2f heights = new Vector2f(rs.getFloat("maxY"),rs.getFloat("minY"));
|
||||
BuildingManager.mesh_heights.put(rs.getInt("meshID"),heights);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user