Ray.intersectSphere

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

class Ray
intersectSphere
(,
out float tOut
)

Parameters

s Sphere

a #graphene_sphere_t

tOut float

the distance of the point on the ray that intersects the sphere

Return Value

the type of intersection

Meta

Since

1.10