Skip to content
Snippets Groups Projects
Commit 7adae652 authored by Pascal Engeler's avatar Pascal Engeler
Browse files

removed extinction coefficient

parent 8949a721
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
class dielectric: public material{
public:
dielectric(double index_of_refraction_inside, double index_of_refraction_outside, double extinction_inside = 0.);
dielectric(double index_of_refraction_inside, double index_of_refraction_outside);
virtual bool scatter(
const ray& r_in, const hit_record& rec,
......@@ -19,7 +19,6 @@ private:
double ir_inside; //index of refraction inside material
double ir_outside; //index of refraction outside material
double extinction_inside; //exponential extinction coefficient inside material
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment