From 57c2f9241543a7d18eab98077530730d49ee10c2 Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 14 Jan 2021 00:56:57 +0100 Subject: Replace color with pbr-book inspired Spectrum class --- src/core/common.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/common.hpp') diff --git a/src/core/common.hpp b/src/core/common.hpp index fd219bf..a3e682e 100644 --- a/src/core/common.hpp +++ b/src/core/common.hpp @@ -1,6 +1,10 @@ #ifndef COMMON_H #define COMMON_H +#include + #define ZERO_APPROX 1e-6 +#define INFINITY std::numeric_limits::infinity() + #endif -- cgit v1.2.3