aboutsummaryrefslogtreecommitdiffstats
path: root/include/color.hpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2020-12-20 14:49:20 +0100
committerladevieq <ladevie.quentin@gmail.com>2020-12-20 14:49:20 +0100
commit3935a609141623e7cfb3fa339da1a166e3917018 (patch)
treeba8d6275b1f9947af92f9c887608f71f73e6609d /include/color.hpp
parent2d8e108dd6811bcf55bed28f1855a36077f8c674 (diff)
Ray tracer renderer
Use ray for rendering Setup basic rendering stuff camera / viewport
Diffstat (limited to 'include/color.hpp')
-rw-r--r--include/color.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/color.hpp b/include/color.hpp
index 3acdf35..f300e76 100644
--- a/include/color.hpp
+++ b/include/color.hpp
@@ -5,6 +5,6 @@
#include "vec3.hpp"
-void write_color(std::ostream& out, color pixel_color);
+void write_color(std::ostream& out, const color& pixel_color);
#endif // !__COLOR_HPP_