/** * Returns the x-coordinate of the center * * @return The x-coordinate of the center */ float getCenterX() { return getMinX() + getSizeX() * 0.5f; }
/** * Returns the x-coordinate of the center * * @return The x-coordinate of the center */ float getCenterX() { return getMinX() + getSizeX() * 0.5f; }