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

◆ IntersectCylinderOBB()

static proto bool Math3D::IntersectCylinderOBB ( vector mins,
vector maxs,
vector obbMat[4],
vector cylMat[4],
float cylinderRadius,
float cylinderHeight )
staticprivate

Tests whether cylinder is intersecting oriented box.

Аргументы
minsvector Minimums of bound box
maxsvector Maximums of bound box
obbMatvector Transform of box
cylMatvector Transform of cylinder
cylinderRadiusfloat Radius of cylinder
cylinderHeightfloat Height of cylinder
Возвращает
bool True when cylinder is intersecting oriented box

Используется в CfgPlayerRestrictedAreaHandler::IsCylinderInAreaBox().