From 2a65ece16cd237d56c9dac8d9d3d680e9d34b774 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Mon, 9 Mar 2026 02:21:09 +0800 Subject: Create class vec3 --- color.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 color.h (limited to 'color.h') 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 + +using color = vec3; + +void write_color(std::ostream &out, const color &pixel_color); + +#endif \ No newline at end of file -- cgit v1.2.3