removed output file, and commented lines

parent f6387a24
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment