Vector.opOpAssign

Allows the vector to have the joint operator assign syntax Works component-wise (eg. (3, 2, 1) += (1, 2, 3) makes (3, 2, 1) into (4, 4, 4))

  1. void opOpAssign(Vector!(T, dimensions) otherVector)
    class Vector(T, uint dimensions)
    void
    opOpAssign
    (
    string op
    )
    (
    Vector!(T, dimensions) otherVector
    )
  2. void opOpAssign(T[] otherComponents)
  3. void opOpAssign(T constant)

Meta