Vector.xy

Get a reference to the first and second elements.

  1. alias xy = _slice!(0, 2)
    struct Vector(T, uint N)
    static if(N >= 2)
    alias xy = _slice!(0, 2)
  2. alias rg = xy
  3. alias uv = xy
  4. alias st = xy

Meta