withLimit

open fun withLimit(limit: Float): T

Returns this vector if the ImmutableVector.len is <= limit or a vector with the same direction and length limit otherwise