orbital-engine
    Preparing search index...

    Function sphereDetailFor

    • Segment counts for a smooth sphere (star/planet/moon) — picks the highest-detail level whose threshold the body's current apparent size clears, so a body zoomed in close enough to fill the screen gets a properly round silhouette instead of visible facets.

      Parameters

      • size: number

      Returns SphereDetail