true if the ray intersects the sphereRay.intersectsSphere
bool intersectsSphere(graphene.sphere.Sphere s)Checks if the given #graphene_ray_t r intersects the given #graphene_sphere_t s.
See also: graphene.ray.Ray.intersectSphere
Parameters
s | a #graphene_sphere_t |