BIS fnc unitVector: Difference between revisions
Jump to navigation
Jump to search
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(...) |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=function | ||
|game1= arma2 | |||
|version1= 1.00 | |||
|game2= arma2oa | |||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|gr1= Vectors | |||
|descr= <pre> | |||
/************************************************************ | /************************************************************ | ||
Unit Vector | Unit Vector | ||
Line 7: | Line 23: | ||
This does not modify the original array. | This does not modify the original array. | ||
The array can have any number of elements (2, 3, etc). | The array can have any number of elements (2, 3, etc). | ||
************************************************************/ | ************************************************************/</pre> | ||
</pre> | |||
{{Wiki|placeholder}} | |||
|s1= <!-- [] call [[BIS_fnc_unitVector]]; --> | |||
|p1= | |||
| | |r1= | ||
|x1= | |||
|seealso= | |||
}} | |||
Latest revision as of 09:22, 14 June 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). ************************************************************/
- Execution:
- call
- Groups:
- Vectors
Syntax
- Syntax:
- Syntax needed
- Return Value:
- Return value needed
Examples
- Examples:
- Example needed
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