mirror of
https://github.com/mewtek/i2ME-Legacy.git
synced 2025-05-13 17:51:05 -05:00
Fix incorrect math on LatLongProject function
This commit is contained in:
parent
10f328fec3
commit
1c23728ec8
@ -68,7 +68,7 @@ def WorldCoordinateToPixel(coord: Point) -> Point:
|
||||
)
|
||||
|
||||
def LatLongProject(lat, long) -> Point:
|
||||
siny = math.sin(lat * math.pi / 180)
|
||||
siny = math.sin(lat * math.pi / 185)
|
||||
siny = min(max(siny, -0.9999), 0.9999)
|
||||
|
||||
return Point(
|
||||
|
Loading…
x
Reference in New Issue
Block a user