Syntax
[] call BIS_fnc_multiplySquareMatrixByVector
Parameters:
param0— 0: _matrix ARRAY (multi-dimensional)param1— 1: _vector ARRAY ([x,y,z] or [x,y,z,1])
Returns: ARRAY [x,y,z]
Examples
Example 1
[_transformMatrix, vectorDir player] call BIS_multiplySquareMatrixVector
Function header
The comment at the top of the function's file in the game; this page's params, returns, examples come from it.
/*
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
*/