diff --git a/img/out.png b/img/out.png deleted file mode 100644 index ba718c9..0000000 Binary files a/img/out.png and /dev/null differ diff --git a/src/method1.cc b/src/method1.cc index 60ab834..9499192 100644 --- a/src/method1.cc +++ b/src/method1.cc @@ -8,12 +8,6 @@ using randint = std::uniform_int_distribution<>; void newSquare(cv::Mat &t_process_img, std::mt19937 &t_gen, randint &t_dist) { const int square_size = t_dist(t_gen); auto square_top_left = cv::Point{t_dist(t_gen), t_dist(t_gen)}; - // if (auto const diff = t_process_img.size().width - (square_top_left.x + - // square_size); - // diff < 0) { - // square_top_left.x += diff; // += because diff is negative if we reach - // here - // } draw_shape(t_process_img, square_top_left, square_size, random_color(t_gen), Shapes::Square); }