BIS_fnc_magnitudeSqr

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 2 version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.00

Description

Description:
Returns the square magnitude of an array of numbers. The vector can have any number of elements.
Arma 3 logo black.png
Use vectorMagnitudeSqr instead

Syntax

Syntax:
vector call BIS_fnc_magnitudeSqr
Parameters:
vector: Array - Vector
Return Value:
Array - New vector

Examples

Example 1:
[5,3] call BIS_fnc_magnitudeSqr;

Additional Information

Execution:
call
Multiplayer:
-
See also:
BIS_fnc_crossProductBIS_fnc_magnitudeBIS_fnc_vectorFromXToY

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section