C# Class Vector.RayTracing.Plane

Inheritance: Object3D
ファイルを表示 Open project: sinclairzx81/vector-cs

Public Properties

Property Type Description
norm Vector3
offset float

Public Methods

Method Description
Plane ( Vector3 norm, float offset, Surface surface ) : Vector.Math
intersect ( Ray ray ) : Intersection
normal ( Vector3 pos ) : Vector3

Method Details

Plane() public method

public Plane ( Vector3 norm, float offset, Surface surface ) : Vector.Math
norm Vector3
offset float
surface Surface
return Vector.Math

intersect() public method

public intersect ( Ray ray ) : Intersection
ray Ray
return Intersection

normal() public method

public normal ( Vector3 pos ) : Vector3
pos Vector3
return Vector3

Property Details

norm public_oe property

public Vector3 norm
return Vector3

offset public_oe property

public float offset
return float