Vec2.up

{0, 1} vector.

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

Meta