Свойство | Тип | Описание | |
---|---|---|---|
center | Vector3 | ||
radius | float | ||
radius2 | float |
Метод | Описание | |
---|---|---|
Sphere ( Vector3 center, float radius, |
||
intersect ( Ray ray ) : |
||
normal ( Vector3 pos ) : Vector3 |
public Sphere ( Vector3 center, float radius, |
||
center | Vector3 | |
radius | float | |
surface | ||
Результат | Vector.Math |
public intersect ( Ray ray ) : |
||
ray | Ray | |
Результат |