pub type Ray = Ray;Expand description
A ray that can be cast against colliders.
Aliased Type§
#[repr(C)]pub struct Ray {
pub origin: OPoint<f32, Const<2>>,
pub dir: Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>,
}Fields§
§origin: OPoint<f32, Const<2>>Starting point of the ray.
dir: Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>Direction of the ray.