Bitbybit Docs
    Preparing search index...

    Class PingPongDto (Inputs.Math)

    Um valor corrente e um comprimento para math.pingPong, que faz o valor saltar entre 0 e o comprimento.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalt: number
      • Optionallength: number

      Returns PingPongDto

    Properties

    t: number

    O valor corrente, como o tempo decorrido; pode crescer sem limite.

    0.5
    

    -Infinity

    Infinity

    0.1

    length: number

    O ponto de viragem: o resultado sobe até ele e depois desce de volta a 0.

    1
    

    -Infinity

    Infinity

    0.1