AOI icon indicating copy to clipboard operation
AOI copied to clipboard

aoi algorithm

Results 2 AOI issues
Sort by recently updated
recently updated
newest added

最近在实现AOI,参考了您的这段实现,发现了一个问题,代码 scene.cpp 的 Line 79,当flag为false时,不是应该将新增对象插入到链表末尾吗?我打印了一下: ``` cpp mac01deMac-mini:AOI mac01$ ./test begin add object============= print current obj_x_list: id = 1, x = 41, y = 21 print current obj_x_list: id =...

我是想GetRangeSet只遍历X轴,每个节点同时判断Y坐标是不是也在范围内,这样只遍历2次(X轴的左和右)就得到所有在视野范围内的了