summaryrefslogtreecommitdiff
path: root/material_diffusive.cpp
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-04-15 14:34:46 +0800
committerKeuin <[email protected]>2022-04-15 14:34:46 +0800
commit1ed823c4fc7ad137b88019a2fa9f17ae3d10215d (patch)
treed1ababb9e3c0dd10929ee60c086b1f91b210c430 /material_diffusive.cpp
parent9c3632426ca0cf8691347873dd9b1fae92e5e5bf (diff)
Move diffusive into material_diffusive. Add material_reflective.h.
Diffstat (limited to 'material_diffusive.cpp')
-rw-r--r--material_diffusive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/material_diffusive.cpp b/material_diffusive.cpp
index 2a554d0..74f58f7 100644
--- a/material_diffusive.cpp
+++ b/material_diffusive.cpp
@@ -3,7 +3,7 @@
//
#include "vec.h"
-#include "material.h"
+#include "material_diffusive.h"
bool material_diffuse_lambertian::scatter(ray3d &r, const object &hit_obj, double hit_t, random_uv_gen_3d &ruvg) const {