Ray.intersectSphere

graphene.types.RayIntersectionKind intersectSphere(graphene.sphere.Sphere s, out float tOut) nothrow

Intersects the given #graphene_ray_t r with the given #graphene_sphere_t s.

Parameters

sa #graphene_sphere_t
tOutthe distance of the point on the ray that intersects the sphere

Returns

the type of intersection