BIS fnc multiplySquareMatrixByVector: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.00 | |1.00 | ||
|gr1= Vectors | |gr1= Vectors | ||
| <pre>/* | | <pre>/* | ||
Line 21: | Line 21: | ||
* [_transformMatrix, vectorDir player] call BIS_multiplySquareMatrixVector | * [_transformMatrix, vectorDir player] call BIS_multiplySquareMatrixVector | ||
* | * | ||
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> | */</pre>{{placeholder}}<!-- Remove this after fill-in --> | ||
|[] call [[BIS_fnc_multiplySquareMatrixByVector]] | |[] call [[BIS_fnc_multiplySquareMatrixByVector]] | ||
|p1= parameter: Datatype - (Optional, default defValue) description | |p1= parameter: Datatype - (Optional, default defValue) description | ||
|Datatype - description | |Datatype - description | ||
|x1= <code></code> | |x1= <code></code> | ||
| | | | ||
}} | }} | ||
[[Category:Functions|{{uc:multiplySquareMatrixByVector}}]] | [[Category:Functions|{{uc:multiplySquareMatrixByVector}}]] | ||
[[Category:{{Name|arma3}}: Functions|{{uc:multiplySquareMatrixByVector}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:multiplySquareMatrixByVector}}]] |
Revision as of 23:40, 17 January 2021
Description
- Description:
/* * Author: Zozo * Multiplies the square matrix by a vector: A(m,m) x V(m) * * Arguments: * 0: _matrix ARRAY (multi-dimensional) * 1: _vector ARRAY ([x,y,z] or [x,y,z,1]) * * Return Value: * ARRAY [x,y,z] * * Example: * [_transformMatrix, vectorDir player] call BIS_multiplySquareMatrixVector * */
Template:placeholder- Execution:
- call
- Groups:
- Vectors
Syntax
- Syntax:
- [] call BIS_fnc_multiplySquareMatrixByVector
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
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