Ray3d

Ray3d

  • origin : glam::Vec3
  • direction : bevy_math::direction::Dir3

Description

An infinite half-line starting at origin and going in direction in 3D space.

Functions

FunctionSummary
clone(_self)No Documentation 🚧
eq(_self, other)No Documentation 🚧
get_point(_self, distance) Get a point at a given distance along the ray
intersect_plane(_self, plane_origin, plane) Get the distance to a plane if the ray intersects it
new(origin, direction) Create a new `Ray3d` from a given origin and direction