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

◆ IntersectSphereCone()

static proto bool Math3D::IntersectSphereCone ( vector origin,
float radius,
vector conepos,
vector axis,
float angle )
staticprivate

Tests whether sphere is intersecting cone.

Аргументы
originvector Origin of sphere
radiusfloat Radius of sphere
coneposvector Position of top of cone
axisvector Orientation of cone in direction from top to bottom
anglefloat Angle of cone in radians
Возвращает
bool True when sphere is intersecting cone