Vector.this
- this(X x_, Y y_)
- this(X x_, Y y_, Z z_)
- this(Vector!(X, 2) xy_, Y z_)
- this(X x_, Vector!(Y, 2) yz_)
struct Vector(T, int N)
nothrow @
nogc pure nothrow
static if(!(N == 2))
static if(N == 3)
this
- this(X x_, Y y_, Z z_, W w_)
- this(Vector!(X, 2) xy_, Vector!(Y, 2) zw_)
- this(Vector!(X, 2) xy_, Y z_, Z w_)
- this(Vector!(X, 3) xyz_, Y w_)
- this(X x_, Vector!(X, 3) yzw_)
- this(U x)
gfm math vector Vector
constructorsfunctionspropertiesunions
Creates a vector of 3 elements.