From 569be1744453d9e03cf6ba6360c42b9da89a596a Mon Sep 17 00:00:00 2001 From: Keuin Date: Fri, 15 Apr 2022 12:35:02 +0800 Subject: Remove unused macros. --- hitlist.h | 5 ----- main_simple_scanner.cpp | 2 -- 2 files changed, 7 deletions(-) diff --git a/hitlist.h b/hitlist.h index 8073587..3b853de 100644 --- a/hitlist.h +++ b/hitlist.h @@ -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> 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 void generate_image(uint16_t image_width, uint16_t image_height, double viewport_width, double focal_length, -- cgit v1.2.3