28.03.2015, 15:07
Say I have a square/rectangle area, and I want to get evenly-spaced coordinates in that area like this:
The dots are the coordinates I need to get. Is there a way of doing this with code, or do I have to just walk to every single spot and use /rs or /s?
Код:
-------------------------- |. . . . . . . . | |. . . . . . . . | |. . . . . . . . | |. . . . . . . . | |. . . . . . . . | |. . . . . . . . | --------------------------