Vec2.up

{0, 1} vector.

  1. enum up;
  2. enum up;
    struct Vec2(T)
    static if(!(__traits(isUnsigned, T)))
    static if(!(__traits(isFloating, T)))
    enum up = Vec2!T(0, 1);

Meta