Packages
graphene-gobject-1.0
Graphene
Ray
equal
get_closest_point_to_point
get_direction
get_distance_to_plane
get_distance_to_point
get_origin
get_position_at
init
init_from_ray
init_from_vec3
intersect_box
intersect_sphere
intersect_triangle
intersects_box
intersects_sphere
intersects_triangle
init_from_vec3
Description:
public
unowned
Ray
?
init_from_vec3
(
Vec3
? origin,
Vec3
? direction)
Initializes the given
Ray
using the given vectors.
Parameters:
this
the
Ray
to initialize
origin
a
Vec3
direction
a
Vec3
Returns:
the initialized ray