Ray.intersectsSphere

Checks if the given #graphene_ray_t r intersects the given #graphene_sphere_t s.

See also: graphene.ray.Ray.intersectSphere

class Ray
bool
intersectsSphere

Parameters

s graphene.sphere.Sphere

a #graphene_sphere_t

Return Value

Type: bool

true if the ray intersects the sphere