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

◆ IntersectRayCylinder()

static proto bool Math3D::IntersectRayCylinder ( vector rayStart,
vector rayEnd,
vector center,
float radius,
float height )
staticprivate

Tests whether ray is intersecting cylinder.

Аргументы
rayStartvector Start of ray
rayEndvector End of ray
centervector Center of cylinder
radiusfloat Radius of cylinder
heightfloat Height of cylinder
Возвращает
bool True when ray is intersecting cylinder