Function zToDepth

  • Convert a z index to a depth value.

    Parameters

    • z: number

      Z index

    Returns number

    Depth value