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