Function subtract

  • Subtracts two vectors.

    Parameters

    • a: Vec4

      Operand vector.

    • b: 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 difference of a and b.