A YouTube description of Boundary Fill (#31505)
This commit is contained in:
@ -36,3 +36,7 @@ void boundary_fill(int pos_x, int pos_y, int boundary_color, int fill_color)
|
||||
}
|
||||
```
|
||||
From the given code you can see that for any pixel that you land on, you first check whether it can be changed to the fill_color and then you do so for its neighbours till all the pixels within the boundary have been checked.
|
||||
|
||||
### More Information:
|
||||
|
||||
[A YouTube presentation of Boundary Fill](https://www.youtube.com/watch?v=au2CslPa4xU)
|
||||
|
Reference in New Issue
Block a user