setLength

Sets this vector's length to length, preserving direction.

Return

A reference to this vector.