I need to calculate terrain brush covers how much tiles.And i need to find which tiles has been selected.I use hexagonal tiles.When brush size changed,covered area size changes.
I need an algorithm for this problem.
I looked to this site : http://www.redblobgames.com/grids/hexagons/ But i couldn't understand.
Thanks in advance.
for example:
[attachment=24833:pic1.jpg]
my editor :
[attachment=24834:pic3.jpg]