Vector2.opOpAssign

Assign Add/Subtract with another vector2.

  1. Vector2!(T) opOpAssign(Vector2!(E) otherVector)
    struct Vector2(T)
    ref
    opOpAssign
    (
    string op
    E
    )
    if (
    isNumeric!(E) &&
    (
    (op == "+") ||
    (op == "-")
    )
    )
    if (
    isNumeric!(T) ||
    is(T == bool)
    )
  2. Vector2!(T) opOpAssign(E num)

Meta