From 82be1151b5c9e49ccba238ec6e4b18a2cb8fb23d Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Mon, 9 Mar 2026 02:21:09 +0800 Subject: Create class vec3 --- raytracing/color.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 raytracing/color.h (limited to 'raytracing/color.h') diff --git a/raytracing/color.h b/raytracing/color.h new file mode 100644 index 0000000..23359aa --- /dev/null +++ b/raytracing/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