DW has shown answer, we do the sorted list of x,y, and z; then have a binary search to find thd four closest objects to do collision check based on camera x,y, and z