DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ MatrixInvMultiply4()

static proto void Math3D::MatrixInvMultiply4 ( vector mat0[4],
vector mat1[4],
out vector res[4] )
staticprivate

Invert-transforms matrix.

Аргументы
mat0vector[4] first matrix
mat1vector[4] second matrix
[out]resvector[4] inverse result of first and second matrix multiplication
vector mat0[4] = { "2 0 0", "0 3 0", "0 0 1", "0 0 0" }; // scale matrix
vector mat1[4] = { "1 0 0", "0 1 0", "0 0 1", "2 4 1" }; // translation matrix
vector res[4];
Math3D.MatrixInvMultiply4(mat0, mat1, res)
Print( res );
>> <2,0,0>,<0,3,1>,<0,3,1>,<4,12,4>
Определения EnConvert.c:106
proto void Print(void var)
Prints content of variable to console/log.
void Math3D()
Определения EnMath3D.c:29

Используется в AddArrow(), DayZInfected::AddArrow(), IEntity::AddArrow() и ManBase::AddArrow().