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

前端 未结 0 534
执笔经年
执笔经年 2021-02-13 00:30

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

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