mirror of
https://github.com/enzet/map-machine.git
synced 2025-08-06 10:09:52 +02:00
Fix building foundations.
This commit is contained in:
parent
aada02ee0b
commit
f912fa61b2
2 changed files with 3 additions and 3 deletions
|
@ -118,9 +118,9 @@ class Building(Figure):
|
|||
shift_2: np.ndarray = np.array((0.0, -height * scale))
|
||||
for segment in self.parts:
|
||||
fill: Color
|
||||
if height == 2.0:
|
||||
if height <= 1.0:
|
||||
fill = self.wall_bottom_color_1
|
||||
elif height == 4.0:
|
||||
elif height <= 2.0:
|
||||
fill = self.wall_bottom_color_2
|
||||
else:
|
||||
color_part: float = self.wall_color_start + segment.angle * 0.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue