MMPX Advanced :Fix another subtle bug

Fix another subtle bug
This commit is contained in:
crashGG authored and Henrik Rydgård committed 2026-06-11 10:36:35 +02:00
1 parent 73fbea4b3b
commit 6a5aacd339
1 file changed
+2 -2
+2 -2
View File
@@ -890,7 +890,7 @@ if (!skiprest &&
float DD = float(eq(A, D));
float FF = float(eq(C, F));
float sideFactor = eq_B_D && DD!=FF ? 1.0 : -0.145898;
float sideFactor = eq_D_F && DD!=FF ? 1.0 : -0.145898;
Bl = fract(Bl) - (B1 +B2 +B1*B2) *0.381966;
Dl = fract(Dl) - step(El, Dl) + DD*sideFactor;
@@ -920,7 +920,7 @@ if (!skiprest &&
float DD = float(eq(D, G));
float FF = float(eq(F, I));
float sideFactor = eq_B_D && DD!=FF ? 1.0 : -0.145898;
float sideFactor = eq_D_F && DD!=FF ? 1.0 : -0.145898;
Hl = fract(Hl) - (H1+H2+H1*H2) *0.381966;
Dl = fract(Dl) - step(El, Dl) + DD*sideFactor;