Constructs a Vector with all elements equal to scalar
alias Vec2 = Vector!(float, 2); Vec2 v; v = Vec2(1); assert(v == [1, 1]); v = Vec2(2.0); assert(v == [2, 2]); v = Vec2(3.0f); assert(v == [3, 3]);
See Implementation
Constructs a Vector with all elements equal to scalar