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

◆ IsPointInCircle()

static proto bool Math::IsPointInCircle ( vector c,
float r,
vector p )
staticprivate

Returns if point is inside circle.

Аргументы
cvector Center of circle ([0] and [2] will be used, as a circle is 2D)
rfloat Radius of circle
pvector Point ([0] and [2] will be used, as a circle is 2D)
Возвращает
bool - True when point is in circle