DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
IntersectRaySphere()
static proto
float
Math3D::IntersectRaySphere
(
vector
raybase
,
vector
raycos
,
vector
center
,
float
radius
)
static
private
Tests whether ray is intersecting sphere.
Аргументы
raybase
vector
Start of ray
raycos
vector
End of ray
center
vector
Center of sphere
radius
float
Radius of sphere
Возвращает
float
-1 when not intersecting, else the fraction of ray
Math3D
Создано системой
1.13.2