Quadtree to search 2-d array of tiles?

后端 未结 0 373
北恋
北恋 2021-01-05 06:54

I would like to find the element in a 2-dimensional array whose box encompasses a search point (X,Y) (from mouse click).

Each element has an X, Y, width and height (b

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