Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Louis
Jouets
Commits
5046a15a
Commit
5046a15a
authored
Nov 30, 2015
by
Louis
Browse files
Les polyèdres sont centrés sur l'origine
parent
61cdf9d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
jouets/troisd/polyedre.py
View file @
5046a15a
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment