For Coding Challenge #25 https://thecodingtrain.com/challenges/25-spherical-geometry
C/SDL Translation of the JS code. The sphere doesn't have the correct triangle strips and the fills are not added since doing it in SDL was way more work than I cared for.