Vec4.one

{1, 1, 1, 1} vector. Its length is not one !

  1. enum one;
  2. enum one;
  3. enum one;
    struct Vec4(T)
    static if(!(__traits(isUnsigned, T)))
    static if(!(__traits(isFloating, T)))
    enum one = Vec4!T(1, 1, 1, 1);

Meta