Describe the Bug
canSeeToken() often returns an empty array for a token that can be seen.
This is often the case with large tokens seen through narrow gaps where the vertices checked are not in the visible area.
To Reproduce
- Place two tokens either side of a gap, make one of them big. See screenshot.
- Call canSeeToken(y) on token x.
- It is possible to position the tokens to return a false negative.
Expected Behaviour
return a useful result such as true in place of the list of points.
Screenshots
MapTool Info
No response
Desktop
No response
Additional Context
No response
Describe the Bug
canSeeToken() often returns an empty array for a token that can be seen.
This is often the case with large tokens seen through narrow gaps where the vertices checked are not in the visible area.
To Reproduce
Expected Behaviour
return a useful result such as true in place of the list of points.
Screenshots
MapTool Info
No response
Desktop
No response
Additional Context
No response