aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/color.hpp2
-rw-r--r--include/vk-renderer.hpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/include/color.hpp b/include/color.hpp
index 34f739a..f300e76 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, uint32_t samples_per_pixel);
+void write_color(std::ostream& out, const color& pixel_color);
#endif // !__COLOR_HPP_
diff --git a/include/vk-renderer.hpp b/include/vk-renderer.hpp
index ca3e182..b1f8d3f 100644
--- a/include/vk-renderer.hpp
+++ b/include/vk-renderer.hpp
@@ -11,10 +11,12 @@ struct input_data {
color ground_color;
vec3 camera_pos;
+ uint32_t samples_per_pixel;
float viewport_width;
float viewport_height;
float proj_plane_distance;
- float pad;
+
+ float random_numbers[200];
struct sphere {
vec3 position;