Свойство | Type | Description | |
---|---|---|---|
center | Vector3 | ||
radius | float | ||
radius2 | float |
Méthode | Description | |
---|---|---|
Sphere ( Vector3 center, float radius, |
||
intersect ( Ray ray ) : |
||
normal ( Vector3 pos ) : Vector3 |
public Sphere ( Vector3 center, float radius, |
||
center | Vector3 | |
radius | float | |
surface | ||
Résultat | Vector.Math |
public intersect ( Ray ray ) : |
||
ray | Ray | |
Résultat |