C# 클래스 Vector.RayTracing.Sphere

상속: Object3D
파일 보기 프로젝트 열기: sinclairzx81/vector-cs

공개 프로퍼티들

프로퍼티 타입 설명
center Vector3
radius float
radius2 float

공개 메소드들

메소드 설명
Sphere ( Vector3 center, float radius, Surface surface ) : Vector.Math
intersect ( Ray ray ) : Intersection
normal ( Vector3 pos ) : Vector3

메소드 상세

Sphere() 공개 메소드

public Sphere ( Vector3 center, float radius, Surface surface ) : Vector.Math
center Vector3
radius float
surface Surface
리턴 Vector.Math

intersect() 공개 메소드

public intersect ( Ray ray ) : Intersection
ray Ray
리턴 Intersection

normal() 공개 메소드

public normal ( Vector3 pos ) : Vector3
pos Vector3
리턴 Vector3

프로퍼티 상세

center 공개적으로 프로퍼티

public Vector3 center
리턴 Vector3

radius 공개적으로 프로퍼티

public float radius
리턴 float

radius2 공개적으로 프로퍼티

public float radius2
리턴 float