mirror of https://github.com/tidwall/tile38.git
ff48054d3d
This commit fixes a case where a roaming geofence will not fire a "faraway" event when it's supposed to. The fix required rewriting the nearby/faraway detection logic. It is now much more accurate and takes overall less memory, but it's also a little slower per operation because each object proximity is checked twice per update. Once to compare the old object's surrounding, and once to evaulated the new object. The two lists are then used to generate accurate "nearby" and "faraway" results. |
||
---|---|---|
.. | ||
bing | ||
clip | ||
collection | ||
deadline | ||
endpoint | ||
expire | ||
glob | ||
hservice | ||
log | ||
server |