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

◆ IsPointInRectangle()

static proto bool Math::IsPointInRectangle ( vector mi,
vector ma,
vector p )
staticprivate

Returns if point is inside rectangle.

Аргументы
mivector Minimums of rectangle ([0] and [2] will be used, as a rectangle is 2D)
mavector Maximums of rectangle ([0] and [2] will be used, as a rectangle is 2D)
pvector Point ([0] and [2] will be used, as a rectangle is 2D)
Возвращает
bool - True when point is in rectangle

Используется в DynamicMusicPlayer::PlayerInsideOfLocationFilter() и DynamicMusicPlayer::PlayerInsideOfLocationFilter().