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

◆ InvMultiply4()

proto vector vector::InvMultiply4 ( vector mat[4])
private

Invert-transforms position.

Аргументы
matvector[4] transformation matrix
vecvector position to transform
Возвращает
vector transformed position
vector mat[4] = { "1 0 0 0", "0 1 0 0", "0 0 1 1", "3 1 2 1" }; // translation matrix
vector pos = "1 1 1";
Print( pos.InvMultiply4(mat) );
>> <-2,0,-1>
proto vector InvMultiply4(vector mat[4])
Invert-transforms position.
Определения EnConvert.c:106
proto void Print(void var)
Prints content of variable to console/log.

Используется в OnUpdate().