Hands-on Rust: Apparent bug in the field_of_view_set() function

Title: Hands-On Rust (Chapter 10)

(Tell me if you’d rather see these logged as bugs in the bracket-lib GitHub repo)

When my player is one row above the bottom of a room, I get a correct list of visible tiles:

However, when the player is against the wall, a couple of tiles are considered non-visible:

Looks like it’s likely do the the “viewing angle” (and may be another MacOS/Big Sur anomaly)

Thanks! That’s actually a limitation of the FoV algorithm. The good news is that there’s an improved algorithm being beta-tested in bracket-lib; it’s both faster and more accurate. I hope to have that - and many of the Big Sur fixes - up very soon. It’s going through the wringer making sure that I’m not breaking any existing code.

I’ve logged the issue to double-check that it is indeed fixed with the new library release.