Function ease

  • An easing function used to smoothen camera movement.

    Parameters

    • t: number

      A value between 0 and 1.

    Returns number

    A value between 0 and 1.