Vector3f.h
void Clamp(const float length)
	{
		if (SqrMagnitude() > length * length)
		{
			Normalize();
			*this = *this * length;
		}
	}
//clamp this vector to given length
clamp this vector to given length
clamp this vector to given length
void Clamp(const float length)
	{
		if (SqrMagnitude() > length * length)
		{
			Normalize();
			*this = *this * length;
		}
	}
void Clamp ( const float length ) { if ( SqrMagnitude ( ) > length * length ) { Normalize ( ) ; * this = * this * length ; } }
clamp this vector to given length
clamp this vector to given length