Removed the longitude normalization calculations in RectFromCenter function that were resulting in candidate reporting errors for edge-of-map cases in Tile38 (see tidwall/tile38#422) and added tests for those cases. Also, added comments and links to equation reference material to (hopefully) help explain what's going on in that function if further debugging or code changes are needed in the future.
Removed the longitude normalization calculations in RectFromCenter function that were resulting in candidate reporting errors for edge-of-map cases in Tile38 (see tidwall/tile38#422) and added tests for those cases. Also, added comments and links to equation reference material to (hopefully) help explain what's going on in that function if further debugging or code changes are needed in the future.