aboutsummaryrefslogtreecommitdiff
path: root/src/render.hpp
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-08-11 21:21:02 +0200
committerJulian T <julian@jtle.dk>2020-08-11 21:21:02 +0200
commit690b72664ca8d471f5c117f6ed87aeae2de0a208 (patch)
tree8bc30efc009462d4390ac6eb8fe28ccbdbbd88a1 /src/render.hpp
parent3b8893902ac5f529faf15accaa3fb5360771d3b3 (diff)
Defuse coloring
Diffstat (limited to 'src/render.hpp')
-rw-r--r--src/render.hpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/render.hpp b/src/render.hpp
index 3fd84b1..bb4e9c5 100644
--- a/src/render.hpp
+++ b/src/render.hpp
@@ -5,20 +5,6 @@
#include "ray.hpp"
#include "scene.hpp"
-class Color : public Vec3d {
- public:
- Color() {}
- Color(const Vec3d &v) : Vec3d(v) {}
- Color(double r, double g, double b) : Vec3d(r, g, b) {}
-
- uint8_t r() { return m_x * 255; }
- uint8_t g() { return m_y * 255; }
- uint8_t b() { return m_z * 255; }
-
- void clamp();
-
-};
-
class Renderer {
public:
Renderer(const Scene &scn, Vec3d eye, Vec3d target, unsigned width, unsigned height);