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

◆ CheckBoundBox()

static proto int Math3D::CheckBoundBox ( vector mins1,
vector maxs1,
vector mins2,
vector maxs2 )
staticprivate

Returns 1, when bounding boxes intersects.

Аргументы
mins1vector minimum point of first bounding box
maxs1vector maximum point of first bounding box
mins2vector minimum point of second bounding box
maxs2vector maximum point of second bounding box
Возвращает
int 1 if boundig boxes intersects, otherwise 0
vector mins1 = "1 1 1";
vector maxs1 = "3 3 3";
vector mins2 = "2 2 2";
vector maxs2 = "4 4 4";
Print( Math3D.CheckBoundBox(mins1, maxs1, mins2, maxs2) );
>> 1
Определения EnConvert.c:106
proto void Print(void var)
Prints content of variable to console/log.
void Math3D()
Определения EnMath3D.c:29