How to fill grid starting from the center of grid?

后端 未结 0 443
南旧
南旧 2020-12-18 03:46

I have n x n size grid and m objects (position of each is not set), I need to fill the grid(calculate positions) with my objects starting from the center of the grid (x0=n/2

相关标签:
回答
  • 消灭零回复
提交回复
热议问题