Function floor

  • Applies Math.floor to each element of vector

    Parameters

    • v: Vec4

      Operand vector.

    • Optional dst: Vec4

      vector to hold result. If not passed in a new one is created.

    Returns Vec4

    A vector that is the floor of each element of v.