orbital-engine
    Preparing search index...

    Function icosahedronDetailFor

    • Subdivision level for an icosahedron (asteroid/comet) — 0 is the deliberately-faceted "rock" look this engine wants at a normal viewing distance; higher subdivisions round that off as the body fills more of the screen, the same idea as sphereDetailFor but for a shape whose low-detail form is an intentional stylistic choice, not just cheapness, so it only needs to soften at the extreme close range true-scale makes reachable.

      Parameters

      • size: number

      Returns number