프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |