System::vmag2
Внешний вид
Calculates the magnitude of a vector but does not perform Sqrt operations. (Its way faster)
Syntax
<syntaxhighlight lang="javascript">mp.game.system.vmag2(p0, p1, p2);</syntaxhighlight>
Required Arguments
- p0: float
- p1: float
- p2: float
Return value
- float
Example
<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>