Skip to content

Commit

Permalink
content: Position exhibits more tightly against the road.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Oct 2, 2023
1 parent 94471ab commit 307696f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions all-is-cubes-content/src/city.rs
Original file line number Diff line number Diff line change
Expand Up @@ -656,8 +656,8 @@ impl CityPlanner {
/// Distance from the center cube to the line of cubes where lampposts are placed.
const LAMP_POSITION_RADIUS: GridCoordinate = Self::ROAD_RADIUS + 1;
/// Distance from the center cube to the line of the front of each placed exhibit.
/// TODO: The units of this isn't being consistent, since it is actually + 2 from the lamps
const PLOT_FRONT_RADIUS: GridCoordinate = Self::LAMP_POSITION_RADIUS + 1;
/// TODO: The units of this isn't being consistent, since it is actually + 1 from the lamps
const PLOT_FRONT_RADIUS: GridCoordinate = Self::LAMP_POSITION_RADIUS;
const GAP_BETWEEN_PLOTS: GridCoordinate = 1;

pub fn new(space_bounds: GridAab) -> Self {
Expand Down

0 comments on commit 307696f

Please sign in to comment.