BIS fnc multiplySquareMatrixByVector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - "(\| )+\}\}" to "}}")
Line 31: Line 31:
|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 15:07, 18 January 2021

Hover & click on the images for description

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