class Mittsu::Ray
- Mittsu::Ray
- Reference
- Object
Defined in:
mittsu/math/ray.crConstructors
Instance Method Summary
-
#==(ray)
Returns
false
(other can only be aValue
here). - #apply_matrix4(matrix4)
- #at(t, target = Mittsu::Vector3.new)
- #clone
- #closest_point_to_point(point, target = Mittsu::Vector3.new)
- #copy(ray)
- #direction : Mittsu::Vector3
- #direction=(direction : Mittsu::Vector3)
- #distance_sq_to_segment(v0, v1, point_on_ray = nil, point_on_segment = nil)
- #distance_to_plane(plane)
- #distance_to_point(point)
- #intersect_box(box, target = Mittsu::Vector3.new)
- #intersect_plane(plane, target = Mittsu::Vector3.new)
- #intersect_sphere(sphere, target = Mittsu::Vector3.new)
- #intersect_triangle(a, b, c, backface_culling, target = Mittsu::Vector3.new)
- #intersection_box?(box)
- #intersection_plane?(plane)
- #intersection_sphere?(sphere)
- #origin : Mittsu::Vector3
- #origin=(origin : Mittsu::Vector3)
- #recast(t)
- #set(origin, direction)
Constructor Detail
Instance Method Detail
def ==(ray)
#
Description copied from class Reference
Returns false
(other can only be a Value
here).