Constructs a Vector from a Vector-like struct.
Vec2 v = OtherVec2(2, 3); assert(v == Vec2(2, 3)); Vec4 v4 = OtherVec2(4, 5); assert(v4 == Vec4(4, 5, 0, 0)); assert(!__traits(compiles, { Vec2 v = NotAVec2(); }));
See Implementation
Constructs a Vector from a Vector-like struct.