Ray.intersectsSphere

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

See also: graphene_ray_intersect_sphere()

class Ray
bool
intersectsSphere

Parameters

s Sphere

a #graphene_sphere_t

Return Value

Type: bool

true if the ray intersects the sphere

Meta

Since

1.10