Vec.this - multiple declarations

Function Vec.this

Build a vector from its components Can be called with any combination of scalar or vectors, as long as the total number of scalar fit with length

this(Comps...) (
  in Comps comps
) pure nothrow @nogc @safe
if (Comps.length > 1);

Function Vec.this

Build a vector from an array.

this(Arr) (
  in Arr arr
)
if (isArray!Arr);

Function Vec.this

Build a vector with all components assigned to one value

this (
  in T comp
);