C# Class rt_2_the_next_week.raytrace.Materials.Material

Inheritance: IMaterial
Mostra file Open project: Rabbid76/c_sharp_raytrace_examples

Public Methods

Method Description
Emitted ( double u, double v, Vec3 p ) : Vec3
Scatter ( Ray r_in, HitRecord rec, Vec3 &attenuation, Ray &scattered ) : bool

Method Details

Emitted() public method

public Emitted ( double u, double v, Vec3 p ) : Vec3
u double
v double
p Vec3
return Vec3

Scatter() public abstract method

public abstract Scatter ( Ray r_in, HitRecord rec, Vec3 &attenuation, Ray &scattered ) : bool
r_in Ray
rec HitRecord
attenuation Vec3
scattered Ray
return bool