Reducing the time complexity of collision engine without changing the data structure

前端 未结 0 1387
长情又很酷
长情又很酷 2021-02-13 00:40

The most basic implementation of a collision engine runes in O(n^2) as the n objects are checked against the n objects.

Is there are way to change it to a faster complexi

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