Property | Type | Description | |
---|---|---|---|
center | Vector3 | ||
radius | float | ||
radius2 | float |
Method | Description | |
---|---|---|
Sphere ( Vector3 center, float radius, |
||
intersect ( Ray ray ) : |
||
normal ( Vector3 pos ) : Vector3 |
public Sphere ( Vector3 center, float radius, |
||
center | Vector3 | |
radius | float | |
surface | ||
return | Vector.Math |