docs: one-way wall blocks the blind side (fix §5.1 inversion)
This commit is contained in:
+2
-1
@@ -688,7 +688,8 @@ explored_chunk(player_id, scene_id, cx, cy, bits BLOB, PRIMARY KEY(player_id, sc
|
||||
inscribed 64-gon of radius R as range limit; sort by angle; each ray returns nearest hit among
|
||||
wall segments (body faces for a thick wall) + circle segments; result = CCW polygon. The wall list
|
||||
holds only walls whose sight switch is on; an open door and a window (`blocks_sight:false`) are
|
||||
absent from it, and a one-way wall is skipped for a viewer on its blind side (5.8).
|
||||
absent from it, and a one-way wall is skipped for a viewer on its seeing side — it blocks only
|
||||
the blind side (5.8).
|
||||
- **Explored**: `cellsTouched(poly, cell)` marks every grid cell that the polygon overlaps; union
|
||||
into the player's explored set. The vertex-in-cell case is handled (bug log and its regression test:
|
||||
TESTING §5.1).
|
||||
|
||||
Reference in New Issue
Block a user