removed output file, and commented lines

This commit is contained in:
Phuntsok Drak-pa 2019-03-21 00:52:28 +01:00
parent f6387a241b
commit bad4cc702c
2 changed files with 0 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

View File

@ -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);
}