I need to convert WGS Coordinates into XYZ coordinates and visualize them on a globe, but somehow the results are way off. My Playground Example demonstrates the problem. The red pin is positioned at the southern coast of Argentina when it is supposed to be located at Albuquerque, New Mexico
Some help would be appreciated.