It's earth. And I'm doing all of this in 3d space not imagery so I need all math to end up in meters. I'm basically trying to get the cuz coordinates of two points given lat/lon/el and then pythagorean theorem to get the distance between them. But my formula isn't working. I'm thinking it's because I'm not using a wgs84 ellipsoid but I don't know where to begin.

This is for a flight simulator at my day job btw.

Posted mobile using Tapatalk