Vec.normalized

Returns the normalized vector. Doesn't change the current struct!

struct Vec(T, ulong n)
@nogc pure nothrow const
Vec!(T, n)
normalized
()
if (
n >= 1 &&
isNumeric!T
)

Meta