Skip to content

Obstacle filter test: the high point inside a cell, not on a vertex - #122

Merged
fmrico merged 1 commit into
rollingfrom
obstacle_test_off_vertex
Oct 15, 2026
Merged

fmrico merged 1 commit into
rollingfrom
obstacle_test_off_vertex

Conversation

@fmrico

@fmrico fmrico commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Closes #121

The high point moves to (4.66, 2.26), inside the cell that the test checks, so the result no longer depends on rounding.

A point exactly on a grid vertex touches six NavCels, and which one
gets marked depends on rounding (NavMap now reports rays through an
edge or a vertex as hits on every NavCel there).

Signed-off-by: Francisco Martín Rico <fmrico@gmail.com>
@fmrico
fmrico merged commit 5540261 into rolling Oct 15, 2026
1 check passed
@fmrico
fmrico deleted the obstacle_test_off_vertex branch October 15, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Obstacle filter test depends on which NavCel a grid vertex falls in

1 participant