aboutsummaryrefslogtreecommitdiff
path: root/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'color.h')
-rw-r--r--color.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/color.h b/color.h
new file mode 100644
index 0000000..23359aa
--- /dev/null
+++ b/color.h
@@ -0,0 +1,12 @@
+#ifndef COLOR_H
+#define COLOR_H
+
+#include "vec3.h"
+
+#include <iostream>
+
+using color = vec3;
+
+void write_color(std::ostream &out, const color &pixel_color);
+
+#endif \ No newline at end of file