about summary refs log tree commit diff stats
path: root/apps/raytracing/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/raytracing/color.h')
-rw-r--r--apps/raytracing/color.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/raytracing/color.h b/apps/raytracing/color.h
deleted file mode 100644
index a8a34b26..00000000
--- a/apps/raytracing/color.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef COLOR_H
-#define COLOR_H
-
-#include "vec3.h"
-
-#include <iostream>
-
-void write_color(std::ostream &out, color pixel_color) {
-    // Write the translated [0,255] value of each color component.
-    out << static_cast<int>(255.999 * pixel_color.x()) << ' '
-        << static_cast<int>(255.999 * pixel_color.y()) << ' '
-        << static_cast<int>(255.999 * pixel_color.z()) << '\n';
-}
-
-#endif