Arma 3 Scripting

BIS_fnc_magnitudeSqr

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Function · Markdown · JSON · original wiki page

Description

Returns the square magnitude of an array of numbers. The vector can have any number of elements.

Note

Arma 3: Use vectorMagnitudeSqr instead

Syntax

vector call BIS_fnc_magnitudeSqr

Parameters:

Returns: Array - new vector

Examples

Example 1

[5,3] call BIS_fnc_magnitudeSqr;

See also

BIS_fnc_crossProduct · BIS_fnc_magnitude · BIS_fnc_vectorFromXToY