diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-03-09 02:21:09 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-03-09 02:21:09 +0800 |
| commit | 2a65ece16cd237d56c9dac8d9d3d680e9d34b774 (patch) | |
| tree | 897cbb982ba4e44ee6c40d90223fa1732adac036 /color.h | |
| parent | 0671c86d0f0dccd6e94766834c41807b7d6b5388 (diff) | |
| download | ray-tracing-2a65ece16cd237d56c9dac8d9d3d680e9d34b774.tar.gz ray-tracing-2a65ece16cd237d56c9dac8d9d3d680e9d34b774.tar.xz | |
Create class vec3
Diffstat (limited to 'color.h')
| -rw-r--r-- | color.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |
