Vector.opBinary

Returns a new vector of greater dimension by copying elements and appending scalar.

Examples

Vec2 v = [1, 2];
assert(v ~ 3 == Vec3(1, 2, 3));

Meta