Vec2.right

{1, 0} vector.

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

Meta