Ray
A ray emitted from an origin in a given direction.
The contents of the graphene_ray_t
structure are private, and should not be modified directly.
Skipped during bindings generation
parameter
t_out
: t_out: Out parameter is not supportedparameter
t_out
: t_out: Out parameter is not supportedparameter
t_out
: t_out: Out parameter is not supported
Since
1.4
Constructors
Functions
Computes the point on the given #graphene_ray_t that is closest to the given point @p.
Retrieves the direction of the given #graphene_ray_t.
Computes the distance of the origin of the given #graphene_ray_t from the given plane.
Computes the distance of the closest approach between the given #graphene_ray_t @r and the point @p.
Retrieves the coordinates of a point at the distance @t along the given #graphene_ray_t.
Initializes the given #graphene_ray_t using the origin and direction values of another #graphene_ray_t.
Initializes the given #graphene_ray_t using the given vectors.
Checks whether the given #graphene_ray_t @r intersects the given #graphene_box_t @b.
Checks if the given #graphene_ray_t @r intersects the given #graphene_sphere_t @s.
Checks whether the given #graphene_ray_t @r intersects the given #graphene_triangle_t @b.