Vector.this

Build a new Vector from a array If no there values for y and z, will be set to 0. w sill beset to 1

  1. this(T x, T y, T z, T w)
  2. this(T[] xs)
    struct Vector(T, size_t dim_)
    nothrow pure
    this
    (
    in T[] xs
    )
    if (
    __traits(isFloating, T)
    )

Parameters

xs T[]

Array with coords

Meta