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

◆ MatrixIdentity4()

static void Math3D::MatrixIdentity4 ( out vector mat[4])
inlinestaticprivate

Creates identity matrix.

Аргументы
[out]matcreated identity matrix
vector mat[4];
Math3D.MatrixIdentity4( mat );
Print( mat );
>> <1,0,0>,<0,1,0>,<0,0,1>,<0,0,0>
Определения EnConvert.c:106
proto void Print(void var)
Prints content of variable to console/log.
void Math3D()
Определения EnMath3D.c:29

См. определение в файле EnMath3D.c строка 256

257 {
258 mat[0] = "1 0 0";
259 mat[1] = "0 1 0";
260 mat[2] = "0 0 1";
261 mat[3] = vector.Zero;
262 }

Перекрестные ссылки vector::Zero.

Используется в PluginBase::CalculatePos(), DropEquipAndDestroyRootLambda::CopyOldPropertiesToNew(), DayZIntroScene::DayZIntroScene(), ArrowManagerBase::DropArrow(), FireplaceToIndoorOvenLambda(), FireplaceToIndoorsLambda(), HandleDropMagazine(), CfgPlayerRestrictedAreaHandler::IsCylinderInAreaBox(), ManBase::PredictiveDropEntity(), ReplaceItemWithNewLambdaBase::PrepareLocations(), RemoveAllAttachedChildrenByTypename(), GameInventory::SetGroundPosByOwner(), Entity::SpawnEntityOnGroundPos(), ManBase::SpawnEntityOnGroundPos() и ContaminatedArea_Dynamic::SpawnItems().