Basic ray aabb intersection check