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

◆ Multiply4()

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

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.Multiply4(mat) );
>> <4,2,3>
proto vector Multiply4(vector mat[4])
Transforms position.
Определения EnConvert.c:106
proto void Print(void var)
Prints content of variable to console/log.

Используется в PluginBase::CalculatePos(), DayZIntroScene::DayZIntroScene() и Weapon::LiftWeaponCheck().