BIS fnc multiplySquareMatrixByVector: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Function|= Comments " to "{{Function|Comments= ")
mNo edit summary
Line 5: Line 5:
|1.00|Game version=
|1.00|Game version=


<!---|arg= local |Multiplayer Arguments=--->
|gr1= Vectors |GROUP1=
 
<!---|eff= local |Multiplayer Effects=--->


| <pre>/*
| <pre>/*
Line 36: Line 34:
}}
}}


[[Category:Function Group: Vectors|{{uc:multiplySquareMatrixByVector}}]]
[[Category:Functions|{{uc:multiplySquareMatrixByVector}}]]
[[Category:Functions|{{uc:multiplySquareMatrixByVector}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:multiplySquareMatrixByVector}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:multiplySquareMatrixByVector}}]]

Revision as of 00:01, 6 October 2020

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