Permalink
Browse files

Dessin d'un polygone à 3 côtés (un triangle)

  • Loading branch information...
robertvandeneynde committed Jan 24, 2018
1 parent b5b80e1 commit 9d428ce5eb8ff62206deedfd44a6a52195276ce1
Showing with 1 addition and 0 deletions.
  1. +1 −0 pygame0_code_minimal.py
View
@@ -45,6 +45,7 @@
pygame.draw.rect(ecran, ROUGE, [100,200, 20,40]) pygame.draw.rect(ecran, ROUGE, [100,200, 20,40])
pygame.draw.circle(ecran, BLEU, [100,200], 20) pygame.draw.circle(ecran, BLEU, [100,200], 20)
pygame.draw.circle(ecran, VERT, [ma_position, 80], 10) pygame.draw.circle(ecran, VERT, [ma_position, 80], 10)
pygame.draw.polygon(ecran, ROUGE, [[0,50], [100,0], [100,100]])
pygame.display.flip() pygame.display.flip()

0 comments on commit 9d428ce

Please sign in to comment.