rays intersect with spheres, triangles in beta