Fixes for 360-deg FOVs

This commit is contained in:
stopflock
2026-01-28 20:21:25 -06:00
parent 1d65d5ecca
commit 3fc3a72cde
7 changed files with 128 additions and 17 deletions
+5
View File
@@ -107,6 +107,11 @@ class OsmNode {
start = ((start % 360) + 360) % 360;
end = ((end % 360) + 360) % 360;
// Special case: if start equals end, this represents 360° FOV
if (start == end) {
return DirectionFov(start, 360.0);
}
double width, center;
if (start > end) {