collision work
This commit is contained in:
@@ -935,7 +935,7 @@ public class dbBuildingHandler extends dbHandlerBase {
|
||||
float refZ = Float.parseFloat(rs.getString("ref").split(";")[1]);
|
||||
|
||||
|
||||
Vector2f topLeft = new Vector2f(centerX - refX,centerZ - refZ);
|
||||
Vector2f topLeft = new Vector2f(centerX - refX,centerZ + refZ);
|
||||
float width = Math.abs(endX-refX);
|
||||
float height = Math.abs(endZ-refZ);
|
||||
Rectangle2D boundRect = new Rectangle2D.Float();
|
||||
|
||||
Reference in New Issue
Block a user