Commit 5046a15a authored by Louis's avatar Louis
Browse files

Les polyèdres sont centrés sur l'origine

parent 61cdf9d9
......@@ -78,10 +78,10 @@ class Platon(Solide):
Point(*coordonnees)
for coordonnees
in [
(0, 0, 0),
(0, 1, 1),
(1, 0, 1),
(1, 1, 0),
(-1, -1, -1),
(-1, 1, 1),
(1, -1, 1),
(1, 1, -1),
]
))
......@@ -90,7 +90,7 @@ class Platon(Solide):
return cls.enveloppe_convexe((
Point(*coordonnees)
for coordonnees
in itertools.product(*([[0, 1]] * 3))
in itertools.product(*([[-1, 1]] * 3))
))
@classmethod
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment