Vec3.one

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

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

Meta