Vector3.opBinary

Add/Subtract between two vector3's.

  1. Vector3!(T) opBinary(Vector3!(E) otherVector)
    struct Vector3(T)
    const
    opBinary
    (
    string op
    E
    )
    if (
    isNumeric!(E) &&
    (
    (op == "+") ||
    (op == "-")
    )
    )
    if (
    isNumeric!(T) ||
    is(T == bool)
    )
  2. Vector3!(T) opBinary(E num)

Meta