Skip to content

Commit d6381f2

Browse files
Handle [3³· 4² ; 3⁶] triangles
1 parent 4ec5cdf commit d6381f2

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/demiregulier_wasm.ml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -860,9 +860,8 @@ def _gen_bi_elongtri_a(larg, haut, a):
860860
_ajouter_tuile_4_direct(x, y, x + a, y, x + a, y + a, x, y + a, larg, haut)
861861
_ajouter_tuile_3_direct(x, y + a, x + a / 2.0, y + a + h, x + a, y + a, larg, haut)
862862
_ajouter_tuile_3_direct(x, y + a + 2.0 * h, x + a / 2.0, y + a + h, x + a, y + a + 2.0 * h, larg, haut)
863-
_ajouter_tuile_4_direct(x, y + a + 2.0 * h, x + a, y + a + 2.0 * h, x + a, y + 2.0 * a + 2.0 * h, x, y + 2.0 * a + 2.0 * h, larg, haut)
864863
x = x + a
865-
y = y + periode_y + a
864+
y = y + periode_y
866865
retour 0
867866

868867

@@ -878,9 +877,8 @@ def _gen_bi_elongtri_b(larg, haut, a):
878877
_ajouter_tuile_3_direct(x, y + a, x + a / 2.0, y + a + h, x + a, y + a, larg, haut)
879878
_ajouter_tuile_3_direct(x, y + a + h, x + a / 2.0, y + a + 2.0 * h, x + a, y + a + h, larg, haut)
880879
_ajouter_tuile_3_direct(x, y + a + 2.0 * h, x + a / 2.0, y + a + 3.0 * h, x + a, y + a + 2.0 * h, larg, haut)
881-
_ajouter_tuile_4_direct(x, y + a + 3.0 * h, x + a, y + a + 3.0 * h, x + a, y + 2.0 * a + 3.0 * h, x, y + 2.0 * a + 3.0 * h, larg, haut)
882880
x = x + a
883-
y = y + periode_y + a
881+
y = y + periode_y
884882
retour 0
885883

886884

0 commit comments

Comments
 (0)