Add obj raycasting method to test kd-tree.