Vector.rgb

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

  1. alias xyz = _slice!(0, 3)
  2. alias rgb = xyz
    struct Vector(T, uint N)
    static if(N >= 3)
    alias rgb = xyz
  3. alias stp = xyz

Meta