BIS fnc crossProduct: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "{{Feature arma3|" to "{{Feature|arma3|") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Vectors |GROUP1= | |gr1 = Vectors |GROUP1= | ||
| Return the cross product of two 3D vectors. {{Feature|arma3|Use [[vectorCrossProduct]] instead.}}|Description= | | Return the cross product of two 3D vectors. {{Feature|arma3|Use [[vectorCrossProduct]] instead.}}|Description= | ||
| [vector1, vector2] call [[BIS_fnc_crossProduct]] |Syntax= | | [vector1, vector2] call [[BIS_fnc_crossProduct]] |Syntax= | ||
Line 19: | Line 16: | ||
| [[Array]] |Return value= | | [[Array]] |Return value= | ||
|x1= <code>_product = [<nowiki/>[1,2,3], [3,2,1]] [[call]] [[BIS_fnc_crossProduct]];</code> |Example 1= | |x1= <code>_product = [<nowiki/>[1,2,3], [3,2,1]] [[call]] [[BIS_fnc_crossProduct]];</code> |Example 1= | ||
| [[vectorCrossProduct]] |See also= | | [[vectorCrossProduct]] |See also= |
Revision as of 22:39, 16 January 2021
Description
Syntax
- Syntax:
- [vector1, vector2] call BIS_fnc_crossProduct
- Parameters:
- vector1: Array
- vector2: Array
- Return Value:
- Array
Examples
- Example 1:
_product = [[1,2,3], [3,2,1]] call BIS_fnc_crossProduct;
Additional Information
- See also:
- vectorCrossProduct
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