diff options
author | Keuin <[email protected]> | 2022-04-15 12:35:02 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-04-15 12:35:02 +0800 |
commit | 569be1744453d9e03cf6ba6360c42b9da89a596a (patch) | |
tree | 47b7a01e30d00128b283cdc4295176e72a899772 | |
parent | 6f18fbb4f14585376e6a57733b45df35c21eab4f (diff) |
Remove unused macros.
-rw-r--r-- | hitlist.h | 5 | ||||
-rw-r--r-- | main_simple_scanner.cpp | 2 |
2 files changed, 0 insertions, 7 deletions
@@ -22,11 +22,6 @@ //#define T_NORM_VISUAL #define T_DIFFUSE -// Select which diffuse method to use -//#define DIFFUSE_SIMPLE // Diffuse with a random vector whose length is in [0, 1] -#define DIFFUSE_LR // Diffuse with (possibly wrong) Lambertian Reflection, i.e. using a random unit vector -//#define DIFFUSE_HEMI // Diffuse with hemispherical scattering, i.e. using a normalized random vector within the hemisphere - // A world, T is color depth class hitlist { std::vector<std::shared_ptr<object>> objects; diff --git a/main_simple_scanner.cpp b/main_simple_scanner.cpp index f0a2099..264bf4e 100644 --- a/main_simple_scanner.cpp +++ b/main_simple_scanner.cpp @@ -16,8 +16,6 @@ #include "aa.h" #include "material.h" -#define DEMO_BALL - // T: intermediate color depth template<typename T> void generate_image(uint16_t image_width, uint16_t image_height, double viewport_width, double focal_length, |