clampLength<T extends num> method
Implementation
@override
Vector2 clampLength<T extends num>(T min, T max) {
final length = this.length;
return divideScalar(length)
.scale(math.max(min, math.min(max, length)));
}