Vector.unit

Returns the unit vector of this vector

struct Vector(T, size_t dim_)
nothrow @property @nogc pure const
unit
()
if (
__traits(isFloating, T)
)

Meta