Ray.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

sa #graphene_sphere_t

Returns

true if the ray intersects the sphere