aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/color.hpp2
-rw-r--r--include/vec3.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/color.hpp b/include/color.hpp
index f300e76..34f739a 100644
--- a/include/color.hpp
+++ b/include/color.hpp
@@ -5,6 +5,6 @@
#include "vec3.hpp"
-void write_color(std::ostream& out, const color& pixel_color);
+void write_color(std::ostream& out, const color& pixel_color, uint32_t samples_per_pixel);
#endif // !__COLOR_HPP_
diff --git a/include/vec3.hpp b/include/vec3.hpp
index e658e71..4ab446d 100644
--- a/include/vec3.hpp
+++ b/include/vec3.hpp
@@ -12,7 +12,7 @@ class vec3 {
vec3 operator-() const;
- vec3& operator+=(vec3& vec);
+ vec3& operator+=(vec3 vec);
vec3& operator*=(double scale);