withClamp

open fun withClamp(min: Float, max: Float): T

Returns a vector of same direction and the length clamped between min and max