k5-compose
/
math
/
Vector2DKt
/
setMag
set
Mag
final static
Vector2D
setMag
(
Vector2D
$self,
Float
n)
Content copied to clipboard
Set the magnitude of this vector to the value used for the
n
parameter.
Parameters
n
the new length of the vector