Vector.xyzw

Get a reference to the first, second, third and fourth elements.

  1. alias xyzw = _slice!(0, 4)
    struct Vector(T, uint N)
    static if(N >= 4)
    alias xyzw = _slice!(0, 4)
  2. alias rgba = xyzw
  3. alias stpq = xyzw

Meta