s2js
    Preparing search index...

    Function advanceWrap

    • Advances or retreats the indicated number of steps along the Hilbert curve at the current level and returns the new position. The position wraps between the first and last faces as necessary.

      Parameters

      • ci: bigint
      • steps: bigint

      Returns bigint