Vec2.half

{0.5, 0.5} vector. Its length is not 0.5 !

struct Vec2(T)
static if(!(__traits(isUnsigned, T)))
static if(__traits(isFloating, T))
enum half = Vec2!T(.5f, .5f);

Meta