mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-02 10:51:57 +02:00
Fix code style.
This commit is contained in:
parent
2ffac6f98b
commit
535d939806
2 changed files with 19 additions and 9 deletions
|
@ -246,9 +246,9 @@ class Painter:
|
|||
length: float = self.flinger.get_scale()
|
||||
|
||||
for way in constructor.buildings: # type: Building
|
||||
shift = [2 * way.get_levels(), 0 * way.get_levels()]
|
||||
shift = np.array((length * way.get_levels(), 0))
|
||||
for nodes11 in way.inners + way.outers:
|
||||
for i in range(len(nodes11) - 1):
|
||||
for i in range(len(nodes11) - 1): # type: int
|
||||
flung_1 = self.flinger.fling(nodes11[i].coordinates)
|
||||
flung_2 = self.flinger.fling(nodes11[i + 1].coordinates)
|
||||
building_shade.add(Path(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue