BIS fnc multiplySquareMatrixByVector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\| )+\}\}" to "}}")
m (Text replacement - " {2,}\}\}" to " }}")
Line 30: Line 30:


|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 00:19, 19 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