Vector.one

Vector3 with values of 1.

  1. Vector!(T, 2) one;
  2. Vector!(T, 3) one;
    struct Vector(T, ubyte N)
    static const
    static if(!(N == 2 && is(T == float) || is(T == int)))
    static if(N == 3 && is(T == float))
    Vector!(T, 3) one;

Meta