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, 1, 1, 1, 0, 0 },
{ 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0 },
}
};
std::vector < std::vector < bool >> brush;
void setBrushSize( int size ) {
brush = brushes[ size ]; }
void drawBrush() {
for( auto & row: brush ) {
for( bool cell: row )
cout << cell << " ";
cout << "\n";
}
}
#endif