mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-06 22:49:16 +00:00
@@ -440,6 +440,29 @@ const MUTANT_DEFINITIONS = [
|
||||
replace: ' if (isSolid(start) || isSolid(midpoint) || isSolid(end)) return true;',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'pdf-own-exit-prefix-disabled',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
+ '&& node --test --test-name-pattern="external dimension extension" test/pdf-collision.test.mjs',
|
||||
because: 'a stepped-facade extension must be allowed to leave the contiguous solid prefix at its own source corner',
|
||||
patches: [{
|
||||
file: 'src/pdf/pdf-collision.ts',
|
||||
find: ' if (options.allowStartExit) {',
|
||||
replace: ' if (false && options.allowStartExit) {',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'pdf-post-exit-collision-ignored',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
+ '&& node --test --test-name-pattern="external dimension extension" test/pdf-collision.test.mjs',
|
||||
because: 'after an extension reaches free space every later wall crossing or tangent contact must still reject that lane',
|
||||
patches: [{
|
||||
file: 'src/pdf/pdf-collision.ts',
|
||||
find: ' return hits.some((hit) => hit.t > exitT! + parameterEpsilon\n'
|
||||
+ ' || hit.endT > exitT! + parameterEpsilon);',
|
||||
replace: ' return false;',
|
||||
}],
|
||||
},
|
||||
{
|
||||
id: 'pdf-near-axis-extension-starts-at-projection',
|
||||
guard: 'npx tsc -p tsconfig.test.json && node scripts/fix-test-build.mjs '
|
||||
|
||||
Reference in New Issue
Block a user