How to find first intersection of a ray with moving circles

前端 未结 2 673
猫巷女王i
猫巷女王i 2021-02-06 14:31

I have been struggling with a problem for a while and so far have not found any solution better then the naive one:

N circles are given that are moving according to a li

2条回答
  •  无人共我
    2021-02-06 15:01

    (Thinking out loud) You might want to use an octree or multi-resolution grid with Bresenham's algorithm to quickly eliminate a lot of checks?

提交回复
热议问题