diff options
Diffstat (limited to 'material.h')
-rw-r--r-- | material.h | 27 |
1 files changed, 0 insertions, 27 deletions
@@ -22,31 +22,4 @@ public: virtual bool scatter(ray3d &r, const object &hit_obj, double hit_t, random_uv_gen_3d &ruvg) const = 0; }; -class material_diffuse_lambertian : public material { - vec3d albedo; -public: - explicit material_diffuse_lambertian(vec3d albedo); - explicit material_diffuse_lambertian(double albedo); - - bool scatter(ray3d &r, const object &hit_obj, double hit_t, random_uv_gen_3d &ruvg) const override; -}; - -class material_diffuse_simple : public material { - vec3d albedo; -public: - explicit material_diffuse_simple(vec3d albedo); - explicit material_diffuse_simple(double albedo); - - bool scatter(ray3d &r, const object &hit_obj, double hit_t, random_uv_gen_3d &ruvg) const override; -}; - -class material_diffuse_hemispherical : public material { - vec3d albedo; -public: - explicit material_diffuse_hemispherical(vec3d albedo); - explicit material_diffuse_hemispherical(double albedo); - - bool scatter(ray3d &r, const object &hit_obj, double hit_t, random_uv_gen_3d &ruvg) const override; -}; - #endif //RT_MATERIAL_H |