intersect_sphere


Description:

[ Version ( since = "1.10" ) ]
public RayIntersectionKind intersect_sphere (Sphere s, out float t_out)

Intersects the given Ray this with the given Sphere s.

Parameters:

this

a Ray

s

a Sphere

t_out

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

Returns:

the type of intersection




2022 vala-language.org