BIS fnc unitVector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
mNo edit summary
Line 6: Line 6:


|1.00|Game version=
|1.00|Game version=
|gr1= Vectors |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 42: Line 44:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Vectors|{{uc:unitVector}}]]
[[Category:Functions|{{uc:unitVector}}]]
[[Category:Functions|{{uc:unitVector}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:unitVector}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:unitVector}}]]

Revision as of 01:00, 6 October 2020


Hover & click on the images for description

Description

Description:
/************************************************************
	Unit Vector

Returns the unit vector for the passed vector (vector pointing
in the same direction, but with magnitude == 1)
This does not modify the original array.
The array can have any number of elements (2, 3, etc).
************************************************************/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Vectors

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section