BIS fnc unitVector: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects(...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function| arma2|1.00|gr1= Vectors| <pre> | ||
| arma2 | |||
|1.00 | |||
|gr1= Vectors | |||
| <pre> | |||
/************************************************************ | /************************************************************ | ||
Unit Vector | Unit Vector | ||
Line 16: | Line 8: | ||
The array can have any number of elements (2, 3, etc). | The array can have any number of elements (2, 3, etc). | ||
************************************************************/ | ************************************************************/ | ||
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> | </pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small>| <!-- [] call [[BIS_fnc_unitVector]]; -->|p1=||x1= <code></code> | ||
| <!-- [] call [[BIS_fnc_unitVector]]; --> | |||
|p1= | | |||
|x1= <code></code> | |||
}} | |}} | ||
Revision as of 10:00, 18 January 2021
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