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

◆ IsPointInPolygon()

static proto bool IsPointInPolygon ( notnull array< float > polygon,
float x,
float y )
staticprivate

Check if a point is inside polygon.

Аргументы
polygonMust be an array of Vector2, every two consecutive floats represent one point in polygon.
xX coordinate of point to test
yY coordinate of point to test

Перекрестные ссылки x и y.