Bounding box check then triangle check working