clampLength<T extends num> method
Implementation
Vector3 clampLength<T extends num>(T min, T max) {
var length = this.length();
return divideScalar(length)
.multiplyScalar(Math.max(min, Math.min(max, length)));
}