I have been hitting myself over the head for a couple hours now. I am trying to calculate the new latitude & longitude (position) when all I have is old latitude & longitude, distance traveled and direction.
The formula I found online is:
'lat2 = asin(sin(lat1)*cos(d/R) +...
I have been over my code several times, but I just cant seem to find the error. It is supposed to be a simple triangle calculator (actually a control for a much bigger project) that solves for any missing parts.
This is the SSS (Side-Side-Side) portion of it that does not work...
Public...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.