Mittsu::Ray
Inherits Reference < Object
Constructors
Instance methods
apply_matrix4(matrix4)
Sourceat(t, target = Mittsu::Vector3.new)
Sourceclone
Sourceclosest_point_to_point(point, target = Mittsu::Vector3.new)
Sourcecopy(ray)
Sourcedirection
Sourcedirection=(direction : Mittsu::Vector3)
Sourcedistance_sq_to_segment(v0, v1, point_on_ray = nil, point_on_segment = nil)
Sourcedistance_to_plane(plane)
Sourcedistance_to_point(point)
Sourceintersect_box(box, target = Mittsu::Vector3.new)
Sourceintersect_plane(plane, target = Mittsu::Vector3.new)
Sourceintersect_sphere(sphere, target = Mittsu::Vector3.new)
Sourceintersect_triangle(a, b, c, backface_culling, target = Mittsu::Vector3.new)
Sourceintersection_box?(box)
Sourceintersection_plane?(plane)
Sourceintersection_sphere?(sphere)
Sourceorigin
Sourceorigin=(origin : Mittsu::Vector3)
Sourcerecast(t)
Sourceset(origin, direction)
Source