k5-compose
/
math
/
Vector2DKt
/
mag
mag
final static
Float
mag
(
Vector2D
$self)
Content copied to clipboard
Calculates the magnitude (length) of the vector and returns the result asa float