hgeVector::Clamp
Limits the vector to a specified length.
void Clamp( const float
max
);
Parameters
max
The maximum allowed length for the vector. If the vector exceeds it, it will be truncated.
Requirements
Header:
hgevector.h