C# Class Vector.RayTracing.Surface

Datei anzeigen Open project: sinclairzx81/vector-cs Class Usage Examples

Public Methods

Method Description
Surface ( ) : Vector.Math
diffuse ( Vector3 pos ) : Color
reflect ( Vector3 pos ) : float
specular ( Vector3 pos ) : Color

Method Details

Surface() public method

public Surface ( ) : Vector.Math
return Vector.Math

diffuse() public method

public diffuse ( Vector3 pos ) : Color
pos Vector3
return Color

reflect() public method

public reflect ( Vector3 pos ) : float
pos Vector3
return float

specular() public method

public specular ( Vector3 pos ) : Color
pos Vector3
return Color