Skip to content

Instantly share code, notes, and snippets.

@DeltaDizzy
Created May 27, 2019 08:21
Show Gist options
  • Save DeltaDizzy/9b0be085466658956283273099e4da4b to your computer and use it in GitHub Desktop.
Save DeltaDizzy/9b0be085466658956283273099e4da4b to your computer and use it in GitHub Desktop.
When placing decals and the KSC:
x=-rsin(lat-90)cos(lon)
y=rcos(lat-90)
z=-rsin(lat-90)*cos(lon)
r = planet radius + altitude ASL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment