Browse Source

Mise à jour de 'rue.py'

master
Kylian.B-M 2 years ago
parent
commit
c5d855289e
  1. 9
      rue.py

9
rue.py

@ -46,11 +46,10 @@ def dessiner_fenetres(informations:dict):
fenetre['épaisseur'] = 1
x0 = informations['coordonnees']
position = informations['fenetre']
rectangle(30, 30, fenetre, (x0 + (position * 40) -25, -180))
rectangle(30, 30, fenetre, (x0 + (position * 80) -25, -180))
rectangle(30, 30, fenetre, (x0 + (position * 120) -25, -180))
for etage in range(0,informations['etage']):
rectangle(30, 30, fenetre, (x0 + (position * 40) -25, -180 + etage*80))
rectangle(30, 30, fenetre, (x0 + (position * 80) -25, -180 + etage*80))
rectangle(30, 30, fenetre, (x0 + (position * 120) -25, -180 + etage*80))
def dessiner_immeuble(informations:dict):
dessiner_facade(informations)

Loading…
Cancel
Save