From bd5fe2e1c5d3fa45947ecc9cf1540886cbd5e1a5 Mon Sep 17 00:00:00 2001 From: Erik Date: Fri, 22 May 2026 09:37:52 +0200 Subject: [PATCH] =?UTF-8?q?docs(test):=20A6.P3=20slice=201=20T5=20?= =?UTF-8?q?=E2=80=94=20update=20stale=20call-chain=20reference=20in=20test?= =?UTF-8?q?=20doc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Code-review suggestion (non-blocking) on commit 39fc037: the BuildCellWithFloor XmlDoc referenced the TryFindIndoorWalkablePlane → FindWalkableSphere → FindWalkableInternal call chain that this slice just removed from FindEnvCollisions. The test still needs the BSP bounding sphere centered correctly, but for the primary indoor BSP query (BSPQuery.FindCollisions), not for the deleted synthesis path. Updated the doc to reflect the actual code path. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../Physics/IndoorContactPlaneRetentionTests.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/AcDream.Core.Tests/Physics/IndoorContactPlaneRetentionTests.cs b/tests/AcDream.Core.Tests/Physics/IndoorContactPlaneRetentionTests.cs index fc992a2..eeaf753 100644 --- a/tests/AcDream.Core.Tests/Physics/IndoorContactPlaneRetentionTests.cs +++ b/tests/AcDream.Core.Tests/Physics/IndoorContactPlaneRetentionTests.cs @@ -98,7 +98,8 @@ public class IndoorContactPlaneRetentionTests /// After SetCheckPos(worldPos, cellId), the global sphere center is /// worldPos + (0,0,sphereRadius). The BSP bounding sphere must be /// centered near this sphere center (NOT at worldPos) so that NodeIntersects - /// passes during TryFindIndoorWalkablePlane → FindWalkableSphere → FindWalkableInternal. + /// passes during BSPQuery.FindCollisions → BSP traversal → NodeIntersects + /// (the indoor cell's primary BSP query in ). /// private static CellPhysics BuildCellWithFloor(float floorZ, float bspCenterZ) {