Merge remote-tracking branch 'upstream/main' into fix/3466-sharpen-amount-range

# Conflicts:
#	crates/engine/src/tests/effect_ranges.rs
#	docs/effects-parity.md
This commit is contained in:
arnav-hiwarkar
2026-11-17 16:48:30 +05:30
6 changed files with 69 additions and 8 deletions
+7
View File
@@ -218,6 +218,13 @@ fn twirl_legacy_ripple_pulse_power_pin() {
// Perspective below 100 %: blended toward the bilinear inverse.
effect_case("ec.distort.ccpowerpin", &[("topRight", pt(80.0, -6.0)), ("bottomLeft", pt(-4.0, 50.0)), ("perspective", n(0.0))]);
effect_case("ec.distort.ccpowerpin", &[("topLeft", pt(12.0, 6.0)), ("bottomRight", pt(75.0, 30.0)), ("perspective", n(40.0)), ("expandTop", n(15.0))]);
// #3492: Expansion down to -200; opposite sides adding up to less than -100 % flip the source,
// and Top -50 / Bottom -50 leave it zero high.
effect_case("ec.distort.ccpowerpin", &[("topRight", pt(80.0, -6.0)), ("expandTop", n(-200.0)), ("expandBottom", n(-100.0)), ("expandLeft", n(-150.0))]);
effect_case(
"ec.distort.ccpowerpin",
&[("bottomLeft", pt(-4.0, 50.0)), ("perspective", n(40.0)), ("expandTop", n(-50.0)), ("expandBottom", n(-50.0)), ("expandRight", n(-200.0))],
);
}
#[test]