message: Factor out division by 2 in mMapBoundingBox initialization
diff: @@ -269,7 +269,7 @@ void TileMap::initMapDrawParams(NAS2D::Vector<int> size)
  mEdgeLength = size.x / TILE_WIDTH;
  mMapPosition = NAS2D::Point{(size.x - TILE_WIDTH) / 2, (size.y - constants::BOTTOM_UI_HEIGHT - mEdgeLength * TILE_HEIGHT_ABSOLUTE) / 2};
  - mMapBoundingBox = {(size.x / 2) - ((TILE_WIDTH * mEdgeLength) / 2), static_cast<int>(mMapPosition.y()), TILE_WIDTH * mEdgeLength, TILE_HEIGHT_ABSOLUTE * mEdgeLength};
  + mMapBoundingBox = {(size.x - TILE_WIDTH * mEdgeLength) / 2, static_cast<int>(mMapPosition.y()), TILE_WIDTH * mEdgeLength, TILE_HEIGHT_ABSOLUTE * mEdgeLength};
  int transform = (mMapPosition.x() - mMapBoundingBox.x()) / TILE_WIDTH;
  TRANSFORM = {-transform, transform};
  