• The depth range of the z-axis of a rune is [0,-1], this function gives a [0, -frac] of the depth range to rune1 and the rest to rune2.

    Parameters

    • frac: number

      Fraction between 0 and 1 (inclusive)

    • rune1: Rune

      Given Rune

    • rune2: Rune

      Given Rune

    Returns Rune

    Resulting Rune